org.objectweb.easybeans.deployment.annotations.analyzer
Class JavaxEjbInterceptorsVisitor<T extends IEJBInterceptors>

java.lang.Object
  extended by org.objectweb.easybeans.deployment.annotations.analyzer.AbsAnnotationVisitor<T>
      extended by org.objectweb.easybeans.deployment.annotations.analyzer.ObjectArrayAnnotationVisitor<T,org.objectweb.asm.Type>
          extended by org.objectweb.easybeans.deployment.annotations.analyzer.JavaxEjbInterceptorsVisitor<T>
Type Parameters:
T - An implementation of IEJBInterceptors interface.
All Implemented Interfaces:
org.objectweb.asm.AnnotationVisitor, AnnotationType

public class JavaxEjbInterceptorsVisitor<T extends IEJBInterceptors>
extends ObjectArrayAnnotationVisitor<T,org.objectweb.asm.Type>
implements AnnotationType

This class manages the handling of @Interceptors annotation. This can be applied on a Class or on Methods.

Author:
Florent Benoit

Field Summary
static java.lang.String TYPE
          Type of annotation.
 
Constructor Summary
JavaxEjbInterceptorsVisitor(T annotationMetadata)
          Constructor.
 
Method Summary
 java.lang.String getType()
           
 void visitEnd()
          Visits the end of the annotation.
Creates the object and store it.
 
Methods inherited from class org.objectweb.easybeans.deployment.annotations.analyzer.ObjectArrayAnnotationVisitor
getArrayObjects, init, visit
 
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
 
Methods inherited from interface org.objectweb.asm.AnnotationVisitor
visitAnnotation, visitArray, visitEnum
 

Field Detail

TYPE

public static final java.lang.String TYPE
Type of annotation.

See Also:
Constant Field Values
Constructor Detail

JavaxEjbInterceptorsVisitor

public JavaxEjbInterceptorsVisitor(T annotationMetadata)
Constructor.

Parameters:
annotationMetadata - linked to a class/method metadata.
Method Detail

visitEnd

public void visitEnd()
Visits the end of the annotation.
Creates the object and store it.

Specified by:
visitEnd in interface org.objectweb.asm.AnnotationVisitor
Specified by:
visitEnd in class AbsAnnotationVisitor<T extends IEJBInterceptors>

getType

public java.lang.String getType()
Specified by:
getType in interface AnnotationType
Returns:
type of the annotation (its description)