|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bm.introspectors.AbstractIntrospector<T>
T
- the typepublic abstract class AbstractIntrospector<T>
Abstract instrospector fur Session, MDBs und JBoss services.
Field Summary | |
---|---|
protected ClassAnnotationMetadata |
classMetaData
|
protected java.lang.Class<? extends T> |
representingClass
the class represented by this introspector (e.g. |
Constructor Summary | |
---|---|
AbstractIntrospector(java.lang.Class<? extends T> toInspect)
Constructor. |
Method Summary | |
---|---|
java.lang.annotation.Annotation |
getAnnotationForField(Property field)
Returns the annotationForField. |
ClassAnnotationMetadata |
getClassMetaData()
Returns the classMetaData. |
Property |
getEntityManagerField()
Returns the field, which holds the reference to the entity manager. |
java.util.Set<Property> |
getFieldsToInject()
Returns the fieldsToInject. |
java.lang.Class<?> |
getImplementationForInterface(java.lang.Class<?> toInspect)
Get the implemenation name for the interface. |
java.util.Set<MethodAnnotationMetadata> |
getLifecycleMethods()
Returns the lifecycle methods. |
java.lang.Class<? extends T> |
getRepresentingClass()
Returns the representingClass. |
boolean |
hasEntityManager()
True is the session bean has an entity manager. |
protected void |
processAccessTypeField(java.lang.Class<? extends T> toInspect)
If the access type is field, we will extract all the neccessary meta informations from the fields. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ClassAnnotationMetadata classMetaData
protected final java.lang.Class<? extends T> representingClass
Constructor Detail |
---|
public AbstractIntrospector(java.lang.Class<? extends T> toInspect)
toInspect
- -
the class to inspect.Method Detail |
---|
public java.lang.annotation.Annotation getAnnotationForField(Property field)
getAnnotationForField
in interface IIntrospector<T>
field
- -
for field
IIntrospector.getAnnotationForField(com.bm.introspectors.Property)
public ClassAnnotationMetadata getClassMetaData()
getClassMetaData
in interface IIntrospector<T>
IIntrospector.getClassMetaData()
public Property getEntityManagerField()
getEntityManagerField
in interface IIntrospector<T>
IIntrospector.getEntityManagerField()
public java.util.Set<Property> getFieldsToInject()
getFieldsToInject
in interface IIntrospector<T>
IIntrospector.getFieldsToInject()
public java.lang.Class<?> getImplementationForInterface(java.lang.Class<?> toInspect)
getImplementationForInterface
in interface IIntrospector<T>
toInspect
- interface to whoes implementation to look for
IIntrospector.getImplementationForInterface(java.lang.Class)
public java.util.Set<MethodAnnotationMetadata> getLifecycleMethods()
getLifecycleMethods
in interface IIntrospector<T>
IIntrospector.getLifecycleMethods()
public java.lang.Class<? extends T> getRepresentingClass()
getRepresentingClass
in interface IIntrospector<T>
IIntrospector.getRepresentingClass()
public boolean hasEntityManager()
hasEntityManager
in interface IIntrospector<T>
IIntrospector.hasEntityManager()
protected void processAccessTypeField(java.lang.Class<? extends T> toInspect)
toInspect
- -
the class to inspect
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |