|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BeanInfo
Description of a bean.
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface org.jboss.util.JBossInterface |
|---|
clone, toShortString, toShortString |
| Method Detail |
|---|
String getName()
ClassInfo getClassInfo()
JoinpointFactory getJoinpointFactory()
Set<PropertyInfo> getProperties()
void setProperties(Set<PropertyInfo> properties)
properties - a SetPropertyInfo getProperty(String name)
name - the property name
IllegalArgumentException - for a null name or if there is no such propertySet<ConstructorInfo> getConstructors()
void setConstructors(Set<ConstructorInfo> constructors)
constructors - a SetSet<MethodInfo> getMethods()
void setMethods(Set<MethodInfo> methods)
methods - a SetSet<EventInfo> getEvents()
void setEvents(Set<EventInfo> events)
events - a SetBeanInfoFactory getBeanInfoFactory()
Object newInstance()
throws Throwable
Throwable - for any error
Object newInstance(String[] paramTypes,
Object[] params)
throws Throwable
paramTypes - the parameter typesparams - the parameters
Throwable - for any error
Object newInstance(Class<?>[] paramTypes,
Object[] params)
throws Throwable
paramTypes - the parameter typesparams - the parameters
Throwable - for any error
Object newInstance(TypeInfo[] paramTypes,
Object[] params)
throws Throwable
paramTypes - the parameter typesparams - the parameters
Throwable - for any error
Object getProperty(Object bean,
String name)
throws Throwable
bean - the beanname - the property name
Throwable - for any error
void setProperty(Object bean,
String name,
Object value)
throws Throwable
bean - the beanname - the property namevalue - the property value
Throwable - for any error
Object invoke(Object bean,
String name)
throws Throwable
bean - the beanname - the method name
Throwable - for any error
Object invoke(Object bean,
String name,
String[] paramTypes,
Object[] params)
throws Throwable
bean - the beanname - the method nameparamTypes - the parameter typesparams - the parameters
Throwable - for any error
Object invoke(Object bean,
String name,
Class<?>[] paramTypes,
Object[] params)
throws Throwable
bean - the beanname - the method nameparamTypes - the parameter typesparams - the parameters
Throwable - for any error
Object invoke(Object bean,
String name,
TypeInfo[] paramTypes,
Object[] params)
throws Throwable
bean - the beanname - the method nameparamTypes - the parameter typesparams - the parameters
Throwable - for any error
Object invokeStatic(String name)
throws Throwable
name - the method name
Throwable - for any error
Object invokeStatic(String name,
String[] paramTypes,
Object[] params)
throws Throwable
name - the method nameparamTypes - the parameter typesparams - the parameters
Throwable - for any error
Object invokeStatic(String name,
Class<?>[] paramTypes,
Object[] params)
throws Throwable
name - the method nameparamTypes - the parameter typesparams - the parameters
Throwable - for any error
Object invokeStatic(String name,
TypeInfo[] paramTypes,
Object[] params)
throws Throwable
name - the method nameparamTypes - the parameter typesparams - the parameters
Throwable - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||