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, getWildcardHandlerpublic 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()
BeanAdaptergetValue in class BeanAdapterpublic 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 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 © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.