public class AbstractBeanAdapter extends BeanAdapter
| Constructor and Description |
|---|
AbstractBeanAdapter(BeanAdapterFactory beanAdapterFactory,
org.jboss.beans.info.spi.BeanInfo beanInfo,
org.jboss.reflect.spi.MethodInfo factory)
Create a new AbstractBeanAdapter.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
construct()
Construct the object
|
protected void |
ensureConstructed()
Ensure the object has been constructed
|
Object |
get(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
Get a property
|
org.jboss.beans.info.spi.BeanInfo |
getBeanInfo()
Get the bean info
|
org.jboss.reflect.spi.MethodInfo |
getFactory()
Get the factory
|
Object |
getValue()
Get the value
|
void |
set(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
Object child)
Set a property
|
getAvailable, getBeanAdapterFactory, getPropertyHandler, getWildcardHandlerpublic AbstractBeanAdapter(BeanAdapterFactory beanAdapterFactory, org.jboss.beans.info.spi.BeanInfo beanInfo, org.jboss.reflect.spi.MethodInfo factory)
beanAdapterFactory - the bean adapter factorybeanInfo - the bean infofactory - the factoryIllegalArgumentException - for null bean adapter factory or bean infopublic org.jboss.beans.info.spi.BeanInfo getBeanInfo()
public org.jboss.reflect.spi.MethodInfo getFactory()
public Object get(org.jboss.beans.info.spi.PropertyInfo propertyInfo) throws Throwable
BeanAdapterget in class BeanAdapterpropertyInfo - the property infoThrowable - for any errorpublic void set(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
Object child)
throws Throwable
BeanAdapterset in class BeanAdapterpropertyInfo - the property infochild - the valueThrowable - for any errorpublic Object getValue()
BeanAdaptergetValue in class BeanAdapterprotected Object construct()
protected void ensureConstructed()
Copyright © 2016 JBoss by Red Hat. All rights reserved.