Creates a new instance of AnnotationScanner
annotations = new HashSet(); annotations.add("Ljavax/ejb/Stateless;"); annotations.add("Ljavax/ejb/Stateful;"); annotations.add("Ljavax/ejb/MessageDriven;");
Test if the passed constant pool string is a reference to a Type.TYPE annotation of a J2EE componentStringthe constant pool info stringreturntrue if it is a J2EE annotation reference if (annotations==null) { synchronized(EjbComponentAnnotationScanner.class) { if (annotations==null) init(); } } return annotations.contains(value);
if (annotations==null) { synchronized(EjbComponentAnnotationScanner.class) { if (annotations==null) init(); } } return annotations.contains(value);