com.sun.enterprise.deployment.annotation.introspection
Interface AnnotationScanner

All Known Implementing Classes:
AbstractAnnotationScanner, AppClientPersistenceDependencyAnnotationScanner, DefaultAnnotationScanner, EjbComponentAnnotationScanner, ResourceAdapterAnnotationScanner

@Contract
public interface AnnotationScanner

This interface allows custom annotation scanner to be created.

Author:
Qingqing Ouyang

Method Summary
 java.util.Set<java.lang.String> getAnnotations()
          Returns a list of FQCN of annotations we are interested in.
 boolean isAnnotation(java.lang.String value)
          Test if the passed constant pool string is a reference to a Type.TYPE annotation of a component defined in this scanner
 

Method Detail

isAnnotation

boolean isAnnotation(java.lang.String value)
Test if the passed constant pool string is a reference to a Type.TYPE annotation of a component defined in this scanner

Returns:
true if it is an annotation reference

getAnnotations

java.util.Set<java.lang.String> getAnnotations()
Returns a list of FQCN of annotations we are interested in.

Returns:
a list of fully qualified class name list of annotations.


Copyright © 2012 GlassFish Community. All Rights Reserved.