com.sun.enterprise.deployment.annotation.introspection
Class EjbComponentAnnotationScanner

java.lang.Object
  extended by com.sun.enterprise.deployment.annotation.introspection.EjbComponentAnnotationScanner
All Implemented Interfaces:
AnnotationScanner

@Service(name="ejb")
@Scoped(value=org.jvnet.hk2.component.Singleton.class)
public class EjbComponentAnnotationScanner
extends java.lang.Object
implements AnnotationScanner

This class contains the following annotation type: javax.ejb.Stateless javax.ejb.Stateful javax.ejb.MessageDriven

Author:
Qingqing Ouyang

Constructor Summary
EjbComponentAnnotationScanner()
          Creates a new instance of DefaultAnnotationScanner
 
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 J2EE component
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbComponentAnnotationScanner

public EjbComponentAnnotationScanner()
Creates a new instance of DefaultAnnotationScanner

Method Detail

isAnnotation

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

Specified by:
isAnnotation in interface AnnotationScanner
Returns:
true if it is a J2EE annotation reference

getAnnotations

public java.util.Set<java.lang.String> getAnnotations()
Description copied from interface: AnnotationScanner
Returns a list of FQCN of annotations we are interested in.

Specified by:
getAnnotations in interface AnnotationScanner
Returns:
a list of fully qualified class name list of annotations.


Copyright © 2012 GlassFish Community. All Rights Reserved.