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