public class JavaBean extends BeanAdapter
Constructor and Description |
---|
JavaBean(BeanAdapterFactory beanAdapterFactory) |
Modifier and Type | Method and Description |
---|---|
Object |
get(org.jboss.beans.info.spi.PropertyInfo propertyInfo)
Get a property
|
String |
getClassName() |
Constructor |
getConstructor() |
protected Object[] |
getParams(List<? extends AbstractParameter> parameters,
org.jboss.reflect.spi.TypeInfo[] paramTypes)
Get parameter values.
|
Property[] |
getProperties() |
protected String[] |
getSignature(List<? extends AbstractParameter> parameters)
Get parameter types.
|
Object |
getValue()
Get the value
|
void |
set(org.jboss.beans.info.spi.PropertyInfo propertyInfo,
Object child)
Set a property
|
void |
setClassName(String className) |
void |
setConstructor(Constructor constructor) |
void |
setProperties(Property[] properties) |
getAvailable, getBeanAdapterFactory, getPropertyHandler, getWildcardHandler
public JavaBean(BeanAdapterFactory beanAdapterFactory)
public String getClassName()
public void setClassName(String className)
public Constructor getConstructor()
public void setConstructor(Constructor constructor)
public Property[] getProperties()
public void setProperties(Property[] properties)
public Object getValue()
BeanAdapter
getValue
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 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 errorprotected String[] getSignature(List<? extends AbstractParameter> parameters)
parameters
- the parametersprotected Object[] getParams(List<? extends AbstractParameter> parameters, org.jboss.reflect.spi.TypeInfo[] paramTypes)
parameters
- the parametersparamTypes
- the typesCopyright © 2014 JBoss by Red Hat. All rights reserved.