|  |  | 
 |  |  | import java.net.URI; | 
 |  |  | import java.net.URL; | 
 |  |  |  | 
 |  |  | @AnnotationDriver(enable = false, name= ProtocolConstantV206V1_0_0.protocolName) | 
 |  |  | @AnnotationDriver(enable = true, name= ProtocolConstantV206V1_0_0.protocolName) | 
 |  |  | public class DriverV1_0_1 extends Driver { | 
 |  |  |     | 
 |  |  |    private static String scanRootPackage = "com.dy.common.mw.protocol.p206V1_0_0." ; | 
 |  |  |    private static String scanRootPackage = "com.dy.common.mw.protocol.p206V1_0_0" ; | 
 |  |  |     | 
 |  |  |    //在Driver中是单例,随Driver的单例对象在单线程中运行 | 
 |  |  |    private ParseParamsForUpV1_0_1 upCpParams ; | 
 |  |  | 
 |  |  |     */ | 
 |  |  |    @Override | 
 |  |  |    public void scanAnnotationCode() throws Exception{ | 
 |  |  |       if(!scanRootPackage.endsWith(".")){ | 
 |  |  |          scanRootPackage += "." ; | 
 |  |  |       } | 
 |  |  |       URL url = this.getClass().getResource("/" + scanRootPackage.replace('.', '/')); | 
 |  |  |       URI uri = new URI(url.toString());   | 
 |  |  |       super.doScanAnnotationCode(this, ProtocolConstantV206V1_0_0.protocolName, uri, scanRootPackage) ; | 
 |  |  |       super.doScanAnnotationCode(this, ProtocolConstantV206V1_0_0.protocolName, scanRootPackage) ; | 
 |  |  |    } | 
 |  |  |  | 
 |  |  |    /** |