| org.ow2.easybeans.deployment.annotations.analyzer.JavaxPersistencePersistenceContextVisitor
JavaxPersistencePersistenceContextVisitor | public class JavaxPersistencePersistenceContextVisitor extends AbsAnnotationVisitor implements AnnotationType(Code) | | This class manages the handling of @
javax.persistence.PersistenceContext annotation.
< Parameters: T - > An implementation of IPersistenceContext interface. author: Florent Benoit |
Field Summary | |
final public static String | TYPE Type of annotation. |
TYPE | final public static String TYPE(Code) | | Type of annotation.
|
JavaxPersistencePersistenceContextVisitor | public JavaxPersistencePersistenceContextVisitor(T annotationMetadata)(Code) | | Constructor.
Parameters: annotationMetadata - linked to a class or method or field metadata |
getJavaxPersistenceContext | protected JavaxPersistenceContext getJavaxPersistenceContext()(Code) | | Internal object used representing @javax.persistence.PersistenceContext annotation. |
getType | public String getType()(Code) | | type of the annotation (its description) |
setJavaxPersistenceContext | protected void setJavaxPersistenceContext(JavaxPersistenceContext javaxPersistenceContext)(Code) | | Sets the javaxPersistenceContext object.
Parameters: javaxPersistenceContext - the object which replaced the previous one. |
visit | public void visit(String name, Object value)(Code) | | Visits a primitive value of the annotation.
Parameters: name - the value name. Parameters: value - the actual value, whose type must be Byte,Boolean, Character, Short,Integer, Long, Float, Double,String or org.ow2.easybeans.asm.Type. |
visitEnd | public void visitEnd()(Code) | | Visits the end of the annotation.
Creates the object and store it.
|
visitEnum | public void visitEnum(String name, String desc, String value)(Code) | | Visits an enumeration value of the annotation.
Parameters: name - the value name. Parameters: desc - the class descriptor of the enumeration class. Parameters: value - the actual enumeration value. |
|
|