|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - actual attachment typepublic interface InstanceClassFactory<T>
A plugin for obtaining the class to scan for management object related annotations, converting property values to/from MetaValue, and determining runtime component names.
| Method Summary | |
|---|---|
Object |
getComponentName(org.jboss.beans.info.spi.BeanInfo beanInfo,
ManagedProperty property,
T attachment,
MetaValue value)
Get the runtime component name. |
Class<?> |
getManagedObjectClass(T attachment)
Return the Class that represents the root ManagedObject to scan for management object related annotations. |
Class<T> |
getType()
|
MetaValue |
getValue(org.jboss.beans.info.spi.BeanInfo beanInfo,
ManagedProperty property,
org.jboss.metadata.spi.MetaData metaData,
T attachment)
Get the value from object. |
void |
setValue(org.jboss.beans.info.spi.BeanInfo beanInfo,
ManagedProperty property,
T attachment,
MetaValue value)
Set the property value to attachment object. |
| Method Detail |
|---|
Class<T> getType()
Class<?> getManagedObjectClass(T attachment)
throws ClassNotFoundException
attachment - - the instance a ManagedObject is to be created for.
ClassNotFoundException - if MO class not found
MetaValue getValue(org.jboss.beans.info.spi.BeanInfo beanInfo,
ManagedProperty property,
org.jboss.metadata.spi.MetaData metaData,
T attachment)
beanInfo - managed object's bean infoproperty - managed property being setattachment - - the object which own's the property
void setValue(org.jboss.beans.info.spi.BeanInfo beanInfo,
ManagedProperty property,
T attachment,
MetaValue value)
beanInfo - managed object's bean infoproperty - managed property being setattachment - - the object which own's the propertyvalue - - the meta value form of the property value
Object getComponentName(org.jboss.beans.info.spi.BeanInfo beanInfo,
ManagedProperty property,
T attachment,
MetaValue value)
beanInfo - managed object's bean infoproperty - managed property being setattachment - - the object which own's the propertyvalue - - the meta value form of the property value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||