com.bm.ejb3metadata.annotations.analyzer.classes
Class JavaxEjbStatefulVisitor

java.lang.Object
  extended by com.bm.ejb3metadata.annotations.analyzer.AbsAnnotationVisitor<ClassAnnotationMetadata>
      extended by com.bm.ejb3metadata.annotations.analyzer.classes.AbsCommonEjbVisitor<JStateful>
          extended by com.bm.ejb3metadata.annotations.analyzer.classes.JavaxEjbStatefulVisitor
All Implemented Interfaces:
AnnotationType, org.ejb3unit.asm.jar.AnnotationVisitor

public class JavaxEjbStatefulVisitor
extends AbsCommonEjbVisitor<JStateful>
implements AnnotationType

This class manages the handling of @Stateful annotation.

Author:
Daniel Wiese

Field Summary
static java.lang.String TYPE
          Type of annotation.
 
Constructor Summary
JavaxEjbStatefulVisitor(ClassAnnotationMetadata classAnnotationMetadata)
          Constructor.
 
Method Summary
 JStateful getJCommonBean()
           
 java.lang.String getType()
           
 void visitEnd()
          Visits the end of the annotation.
 
Methods inherited from class com.bm.ejb3metadata.annotations.analyzer.classes.AbsCommonEjbVisitor
visit
 
Methods inherited from class com.bm.ejb3metadata.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

TYPE

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

See Also:
Constant Field Values
Constructor Detail

JavaxEjbStatefulVisitor

public JavaxEjbStatefulVisitor(ClassAnnotationMetadata classAnnotationMetadata)
Constructor.

Parameters:
classAnnotationMetadata - linked to a class 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
Overrides:
visitEnd in class AbsCommonEjbVisitor<JStateful>

getJCommonBean

public JStateful getJCommonBean()
Specified by:
getJCommonBean in class AbsCommonEjbVisitor<JStateful>
Returns:
the object representing common bean.

getType

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


Copyright © 2008. All Rights Reserved.