|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.deployment.annotations.analyzer.AbsAnnotationVisitor<T>
org.objectweb.easybeans.deployment.annotations.analyzer.JavaxAnnotationEJBVisitor<T>
T
- An implementation of IAnnotationEJB interface.public class JavaxAnnotationEJBVisitor<T extends IAnnotationEJB>
This class manages the handling of @EJB
annotation.
Field Summary | |
---|---|
private static java.lang.String |
BEAN_INTERFACE
Bean interface attribute of the annotation. |
private static java.lang.String |
BEAN_NAME
Bean name attribute of the annotation. |
private JAnnotationEJB |
jAnnotationEJB
Internal object used representing @ EJB annotation. |
private static java.lang.String |
NAME
Name attribute of the annotation. |
static java.lang.String |
TYPE
Type of annotation. |
Constructor Summary | |
---|---|
JavaxAnnotationEJBVisitor(T annotationMetadata)
Constructor. |
Method Summary | |
---|---|
protected JAnnotationEJB |
getJAnnotationEJB()
|
java.lang.String |
getType()
|
protected void |
setJAnnotationEJB(JAnnotationEJB jAnnotationEJB)
Sets the jAnnotationEJB object. |
void |
visit(java.lang.String name,
java.lang.Object value)
Visits a primitive value of the annotation. |
void |
visitEnd()
Visits the end of the annotation. |
Methods inherited from class org.objectweb.easybeans.deployment.annotations.analyzer.AbsAnnotationVisitor |
---|
getAnnotationMetadata, visitAnnotation, visitArray, visitEnum |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String NAME
private static final java.lang.String BEAN_INTERFACE
private static final java.lang.String BEAN_NAME
public static final java.lang.String TYPE
private JAnnotationEJB jAnnotationEJB
EJB
annotation.
Constructor Detail |
---|
public JavaxAnnotationEJBVisitor(T annotationMetadata)
annotationMetadata
- linked to a class or method metadataMethod Detail |
---|
public void visit(java.lang.String name, java.lang.Object value)
visit
in interface org.objectweb.asm.AnnotationVisitor
visit
in class AbsAnnotationVisitor<T extends IAnnotationEJB>
name
- the value name.value
- the actual value, whose type must be Byte
,
Boolean
, Character
, Short
,
Integer
, Long
, Float
, Double
,
String
or Type
.public void visitEnd()
visitEnd
in interface org.objectweb.asm.AnnotationVisitor
visitEnd
in class AbsAnnotationVisitor<T extends IAnnotationEJB>
public java.lang.String getType()
getType
in interface AnnotationType
protected JAnnotationEJB getJAnnotationEJB()
EJB
annotation.protected void setJAnnotationEJB(JAnnotationEJB jAnnotationEJB)
jAnnotationEJB
- the object which replaced the previous one.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |