com.bm.ejb3metadata.annotations.analyzer
Class JavaxEjbTransactionAttributeVisitor<T extends ITransactionAttribute>

java.lang.Object
  extended by com.bm.ejb3metadata.annotations.analyzer.AbsAnnotationVisitor<T>
      extended by com.bm.ejb3metadata.annotations.analyzer.EnumAnnotationVisitor<T>
          extended by com.bm.ejb3metadata.annotations.analyzer.JavaxEjbTransactionAttributeVisitor<T>
Type Parameters:
T - An implementation of ITransactionAttribute interface.
All Implemented Interfaces:
AnnotationType, org.ejb3unit.asm.jar.AnnotationVisitor

public class JavaxEjbTransactionAttributeVisitor<T extends ITransactionAttribute>
extends EnumAnnotationVisitor<T>
implements AnnotationType

This class manages the handling of @TransactionAttribute annotation.

Author:
Daniel Wiese

Field Summary
static java.lang.String TYPE
          Type of annotation.
 
Constructor Summary
JavaxEjbTransactionAttributeVisitor(T annotationMetadata)
          Constructor.
 
Method Summary
 java.lang.String getType()
           
 void visitEnd()
          Visits the end of the annotation.
 
Methods inherited from class com.bm.ejb3metadata.annotations.analyzer.EnumAnnotationVisitor
getValue, visitEnum
 
Methods inherited from class com.bm.ejb3metadata.annotations.analyzer.AbsAnnotationVisitor
getAnnotationMetadata, visit, visitAnnotation, visitArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ejb3unit.asm.jar.AnnotationVisitor
visit, visitAnnotation, visitArray
 

Field Detail

TYPE

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

See Also:
Constant Field Values
Constructor Detail

JavaxEjbTransactionAttributeVisitor

public JavaxEjbTransactionAttributeVisitor(T annotationMetadata)
Constructor.

Parameters:
annotationMetadata - linked to a class or 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.ejb3unit.asm.jar.AnnotationVisitor
Specified by:
visitEnd in class AbsAnnotationVisitor<T extends ITransactionAttribute>

getType

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


Copyright © 2008. All Rights Reserved.