public class UnmodifiableBeanInfo extends org.jboss.util.JBossObject implements BeanInfo
Constructor and Description |
---|
UnmodifiableBeanInfo(BeanInfo delegate) |
Modifier and Type | Method and Description |
---|---|
BeanInfoFactory |
getBeanInfoFactory()
Get the bean info factory
|
ClassInfo |
getClassInfo()
Get the class information
|
Set<ConstructorInfo> |
getConstructors()
Get the constructor info.
|
Set<EventInfo> |
getEvents()
Get the event information.
|
JoinpointFactory |
getJoinpointFactory()
Get the joinpoint factory
|
Set<MethodInfo> |
getMethods()
Get the method information.
|
String |
getName()
Get the bean name
|
Set<PropertyInfo> |
getProperties()
Get the property information.
|
Object |
getProperty(Object bean,
String name)
Get a property
|
PropertyInfo |
getProperty(String name)
Get a property
|
Object |
invoke(Object bean,
String name)
Invoke a method with no parameters
|
Object |
invoke(Object bean,
String name,
Class<?>[] paramTypes,
Object[] params)
Invoke a method
|
Object |
invoke(Object bean,
String name,
String[] paramTypes,
Object[] params)
Invoke a method
|
Object |
invoke(Object bean,
String name,
TypeInfo[] paramTypes,
Object[] params)
Invoke a method
|
Object |
invokeStatic(String name)
Invoke a static method with no parameters
|
Object |
invokeStatic(String name,
Class<?>[] paramTypes,
Object[] params)
Invoke a static method
|
Object |
invokeStatic(String name,
String[] paramTypes,
Object[] params)
Invoke a static method
|
Object |
invokeStatic(String name,
TypeInfo[] paramTypes,
Object[] params)
Invoke a static method
|
Object |
newInstance()
Create a new instance
|
Object |
newInstance(Class<?>[] paramTypes,
Object[] params)
Create a new instance
|
Object |
newInstance(String[] paramTypes,
Object[] params)
Create a new instance
|
Object |
newInstance(TypeInfo[] paramTypes,
Object[] params)
Create a new instance
|
void |
setConstructors(Set<ConstructorInfo> constructors)
Set the constructor info.
|
void |
setEvents(Set<EventInfo> events)
set the event information.
|
void |
setMethods(Set<MethodInfo> methods)
Set the method information.
|
void |
setProperties(Set<PropertyInfo> properties)
Set the property information.
|
void |
setProperty(Object bean,
String name,
Object value)
Get a property
|
String |
toShortString() |
void |
toShortString(org.jboss.util.JBossStringBuilder buffer) |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toString, toString, toStringImplementation
public UnmodifiableBeanInfo(BeanInfo delegate)
public ClassInfo getClassInfo()
BeanInfo
getClassInfo
in interface BeanInfo
public JoinpointFactory getJoinpointFactory()
BeanInfo
getJoinpointFactory
in interface BeanInfo
public Set<PropertyInfo> getProperties()
BeanInfo
getProperties
in interface BeanInfo
public void setProperties(Set<PropertyInfo> properties)
BeanInfo
setProperties
in interface BeanInfo
properties
- a Setpublic PropertyInfo getProperty(String name)
BeanInfo
getProperty
in interface BeanInfo
name
- the property namepublic Set<ConstructorInfo> getConstructors()
BeanInfo
getConstructors
in interface BeanInfo
public void setConstructors(Set<ConstructorInfo> constructors)
BeanInfo
setConstructors
in interface BeanInfo
constructors
- a Setpublic Set<MethodInfo> getMethods()
BeanInfo
getMethods
in interface BeanInfo
public void setMethods(Set<MethodInfo> methods)
BeanInfo
setMethods
in interface BeanInfo
methods
- a Setpublic Set<EventInfo> getEvents()
BeanInfo
public void setEvents(Set<EventInfo> events)
BeanInfo
public BeanInfoFactory getBeanInfoFactory()
BeanInfo
getBeanInfoFactory
in interface BeanInfo
public Object newInstance() throws Throwable
BeanInfo
newInstance
in interface BeanInfo
Throwable
- for any errorpublic Object newInstance(String[] paramTypes, Object[] params) throws Throwable
BeanInfo
newInstance
in interface BeanInfo
paramTypes
- the parameter typesparams
- the parametersThrowable
- for any errorpublic Object newInstance(Class<?>[] paramTypes, Object[] params) throws Throwable
BeanInfo
newInstance
in interface BeanInfo
paramTypes
- the parameter typesparams
- the parametersThrowable
- for any errorpublic Object newInstance(TypeInfo[] paramTypes, Object[] params) throws Throwable
BeanInfo
newInstance
in interface BeanInfo
paramTypes
- the parameter typesparams
- the parametersThrowable
- for any errorpublic Object getProperty(Object bean, String name) throws Throwable
BeanInfo
getProperty
in interface BeanInfo
bean
- the beanname
- the property nameThrowable
- for any errorpublic void setProperty(Object bean, String name, Object value) throws Throwable
BeanInfo
setProperty
in interface BeanInfo
bean
- the beanname
- the property namevalue
- the property valueThrowable
- for any errorpublic Object invoke(Object bean, String name) throws Throwable
BeanInfo
public Object invoke(Object bean, String name, String[] paramTypes, Object[] params) throws Throwable
BeanInfo
public Object invoke(Object bean, String name, Class<?>[] paramTypes, Object[] params) throws Throwable
BeanInfo
public Object invoke(Object bean, String name, TypeInfo[] paramTypes, Object[] params) throws Throwable
BeanInfo
public Object invokeStatic(String name) throws Throwable
BeanInfo
invokeStatic
in interface BeanInfo
name
- the method nameThrowable
- for any errorpublic Object invokeStatic(String name, String[] paramTypes, Object[] params) throws Throwable
BeanInfo
invokeStatic
in interface BeanInfo
name
- the method nameparamTypes
- the parameter typesparams
- the parametersThrowable
- for any errorpublic Object invokeStatic(String name, Class<?>[] paramTypes, Object[] params) throws Throwable
BeanInfo
invokeStatic
in interface BeanInfo
name
- the method nameparamTypes
- the parameter typesparams
- the parametersThrowable
- for any errorpublic Object invokeStatic(String name, TypeInfo[] paramTypes, Object[] params) throws Throwable
BeanInfo
invokeStatic
in interface BeanInfo
name
- the method nameparamTypes
- the parameter typesparams
- the parametersThrowable
- for any errorpublic String toShortString()
toShortString
in interface org.jboss.util.JBossInterface
toShortString
in class org.jboss.util.JBossObject
public void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString
in interface org.jboss.util.JBossInterface
toShortString
in class org.jboss.util.JBossObject
Copyright © 2017 JBoss by Red Hat. All rights reserved.