package com.dy.common.mw.protocol;
|
|
import java.lang.annotation.*;
|
|
@Target(ElementType.TYPE)
|
@Retention(RetentionPolicy.RUNTIME)
|
public @interface AnnotationDriver {
|
/**
|
* 协议名称,各个协议名称不能有重复现象
|
*/
|
String name() default "" ;
|
|
/**
|
* 协议版本号
|
*/
|
short version() default -1 ;
|
|
boolean enable() default true ;
|
}
|