T
- actual attachment typepublic interface InstanceClassFactory<T>
Modifier and Type | Method and Description |
---|---|
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.
|
Class<?> getManagedObjectClass(T attachment) throws ClassNotFoundException
attachment
- - the instance a ManagedObject is to be created for.ClassNotFoundException
- if MO class not foundMetaValue 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 propertyvoid 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 valueObject 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 valueCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.