|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the beanlet type.public interface BeanletMetaData<T>
Provides information on the beanlet definition.
| Method Summary | ||
|---|---|---|
String |
getBeanletName()
Returns canonical name of the beanlet. |
|
ClassLoader |
getClassLoader()
Returns the classloader associated with the deployment of this beanlet. |
|
List<Class<?>> |
getInterfaces()
Returns a list of additional interfaces that are exposed by this beanlet. |
|
List<MetaData> |
getMetaData()
Returns a list of meta data objects for this beanlet. |
|
|
getMetaData(Class<M> metaDataType)
Returns a list of meta data objects of the specified type. |
|
Class<T> |
getType()
Returns the beanlet type. |
|
boolean |
isMetaDataPresent(Class<? extends MetaData> metaDataType)
Returns true if the specified meta data type is available for
this beanlet. |
|
boolean |
isProxy()
Returns true if this is a proxy beanlet, false
otherwise. |
|
boolean |
isStatic()
Returns true if this component is created from a static context. |
|
boolean |
isVanilla()
Returns true if this is a vanilla beanlet, false
otherwise. |
|
| Methods inherited from interface org.beanlet.MetaData |
|---|
getDescription |
| Methods inherited from interface java.lang.reflect.AnnotatedElement |
|---|
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent |
| Method Detail |
|---|
String getBeanletName()
Class<T> getType()
ClassLoader getClassLoader()
List<Class<?>> getInterfaces()
Returns a list of additional interfaces that are exposed by this beanlet.
Note that this list is empty for non-proxy beanlets.
boolean isProxy()
Returns true if this is a proxy beanlet, false
otherwise.
Proxy beanlets have the ability to expose interfaces that are not
implemented by the type. These interfaces are returned by
getInterfaces. Furthermore, proxy beanlets allow method
calls to be intercepted by beanlet interceptors.
true if this is a proxy beanlet.boolean isVanilla()
Returns true if this is a vanilla beanlet, false
otherwise.
Vanilla beanlets directly expose their beanlet instances and thus
their type, as specified by getType. Proxy vanilla
beanlets are implemented by dynamically subclassing the type
adding the proxying logic.
true if this is a vanilla beanlet.boolean isStatic()
true if this component is created from a static context.
boolean isMetaDataPresent(Class<? extends MetaData> metaDataType)
true if the specified meta data type is available for
this beanlet.
true if meta data is available for specified type.<M extends MetaData> List<M> getMetaData(Class<M> metaDataType)
List<MetaData> getMetaData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||