T
- the exact bean typepublic interface BeanInfo<T>
Modifier and Type | Method and Description |
---|---|
Constructor<T> |
findConstructor(String... parameterTypes)
Find ctor.
|
Method |
findMethod(String name,
String... parameterTypes)
Find method.
|
Constructor<T> |
getConstructor(String... parameterTypes)
Get ctor; exact match wrt parameter types.
|
Field |
getField(String name)
Get bean's field.
|
Method |
getGetter(String propertyName,
Class<?> type)
Get getter.
|
Method |
getMethod(String name,
String... parameterTypes)
Get method; exact match wrt parameter types.
|
Method |
getSetter(String propertyName,
Class<?> type)
Get setter.
|
Constructor<T> getConstructor(String... parameterTypes)
parameterTypes
- the parameter typesConstructor<T> findConstructor(String... parameterTypes)
parameterTypes
- the parameter typesMethod getMethod(String name, String... parameterTypes)
name
- the method nameparameterTypes
- the parameter typesMethod findMethod(String name, String... parameterTypes)
name
- the method nameparameterTypes
- the parameter typesMethod getGetter(String propertyName, Class<?> type)
propertyName
- the getter propertyNametype
- the type propertyNameMethod getSetter(String propertyName, Class<?> type)
propertyName
- the setter propertyNametype
- the type propertyNameCopyright © 2013 JBoss by Red Hat. All rights reserved.