public class WrapperBeanAdapter extends BeanAdapter
Constructor and Description |
---|
WrapperBeanAdapter(WrapperBeanAdapterFactory beanAdapterFactory,
BeanAdapter wrapped)
Create a new WrapperBeanAdapter.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
Get a property
|
protected WrapperBeanAdapterFactory |
getBeanAdapterFactory()
Get the bean adapter factory
|
Object |
getValue()
Get the value
|
void |
set(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
Object child)
Set a property
|
getAvailable, getPropertyHandler, getWildcardHandler
public WrapperBeanAdapter(WrapperBeanAdapterFactory beanAdapterFactory, BeanAdapter wrapped)
beanAdapterFactory
- our factorywrapped
- the wrapped adapterprotected WrapperBeanAdapterFactory getBeanAdapterFactory()
BeanAdapter
getBeanAdapterFactory
in class BeanAdapter
public Object get(org.jboss.beans.info.spi.PropertyInfo propertyInfo) throws Throwable
BeanAdapter
get
in class BeanAdapter
propertyInfo
- the property infoThrowable
- for any errorpublic Object getValue()
BeanAdapter
getValue
in class BeanAdapter
public void set(org.jboss.beans.info.spi.PropertyInfo propertyInfo, Object child) throws Throwable
BeanAdapter
set
in class BeanAdapter
propertyInfo
- the property infochild
- the valueThrowable
- for any errorCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.