|
JBoss XML Binding 2.0.3.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.xb.spi.BeanAdapter
org.jboss.xb.spi.AbstractBeanAdapter
public class AbstractBeanAdapter
AbstractBeanAdapter.
Constructor Summary | |
---|---|
AbstractBeanAdapter(BeanAdapterFactory beanAdapterFactory,
org.jboss.beans.info.spi.BeanInfo beanInfo,
org.jboss.reflect.spi.MethodInfo factory)
Create a new AbstractBeanAdapter. |
Method Summary | |
---|---|
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 |
Methods inherited from class org.jboss.xb.spi.BeanAdapter |
---|
getAvailable, getBeanAdapterFactory, getPropertyHandler, getWildcardHandler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public 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 factory
IllegalArgumentException
- for null bean adapter factory or bean infoMethod Detail |
---|
public 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
BeanAdapter
get
in class BeanAdapter
propertyInfo
- the property info
Throwable
- for any errorpublic void set(org.jboss.beans.info.spi.PropertyInfo propertyInfo, Object child) throws Throwable
BeanAdapter
set
in class BeanAdapter
propertyInfo
- the property infochild
- the value
Throwable
- for any errorpublic Object getValue()
BeanAdapter
getValue
in class BeanAdapter
protected Object construct()
protected void ensureConstructed()
|
JBoss XML Binding 2.0.3.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |