com.bm.introspectors
Interface IIntrospector<T>

All Known Implementing Classes:
AbstractIntrospector, JbossServiceIntrospector, MDBIntrospector, SessionBeanIntrospector

public interface IIntrospector<T>


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.
 

Method Detail

getRepresentingClass

java.lang.Class<? extends T> getRepresentingClass()
Returns the representingClass.

Returns:
Returns the representingClass.

getAnnotationForField

java.lang.annotation.Annotation getAnnotationForField(Property field)
Returns the annotationForField.

Parameters:
field - - for field
Returns:
Returns the annotationForField.

getFieldsToInject

java.util.Set<Property> getFieldsToInject()
Returns the fieldsToInject.

Returns:
Returns the fieldsToInject.

getLifecycleMethods

java.util.Set<MethodAnnotationMetadata> getLifecycleMethods()
Returns the lifecycle methods.

Returns:
Returns the lofe cycle methods.

hasEntityManager

boolean hasEntityManager()
True is the session bean has an entity manager.

Returns:
- true if yes
Since:
08.11.2005

getEntityManagerField

Property getEntityManagerField()
Returns the field, which holds the reference to the entity manager.

Returns:
- the em field
Since:
08.11.2005

getClassMetaData

ClassAnnotationMetadata getClassMetaData()
Returns the classMetaData.

Returns:
Returns the classMetaData.

getImplementationForInterface

java.lang.Class<?> getImplementationForInterface(java.lang.Class<?> toInspect)
Get the implemenation name for the interface.

Parameters:
toInspect - interface to whoes implementation to look for
Returns:
the implementation of the parameter interface


Copyright © 2008. All Rights Reserved.