public class DefaultBeanInfo<T> extends Object implements BeanInfo<T>
| Constructor and Description |
|---|
DefaultBeanInfo(org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex index,
Class<T> beanClass) |
| 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.
|
protected <U> U |
lookup(org.jboss.as.pojo.service.DefaultBeanInfo.Lookup<U> lookup,
int start,
int depth)
Do lazy lookup.
|
protected <U> U lookup(org.jboss.as.pojo.service.DefaultBeanInfo.Lookup<U> lookup,
int start,
int depth)
lookup - the lookupstart - the startdepth - the depthpublic Constructor<T> getConstructor(String... parameterTypes)
BeanInfogetConstructor in interface BeanInfo<T>parameterTypes - the parameter typespublic Constructor<T> findConstructor(String... parameterTypes)
BeanInfofindConstructor in interface BeanInfo<T>parameterTypes - the parameter typespublic Field getField(String name)
BeanInfopublic Method getMethod(String name, String... parameterTypes)
BeanInfopublic Method findMethod(String name, String... parameterTypes)
BeanInfofindMethod in interface BeanInfo<T>name - the method nameparameterTypes - the parameter typespublic Method getGetter(String propertyName, Class<?> type)
BeanInfoCopyright © 2021 JBoss by Red Hat. All rights reserved.