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)
BeanInfo
getConstructor
in interface BeanInfo<T>
parameterTypes
- the parameter typespublic Constructor<T> findConstructor(String... parameterTypes)
BeanInfo
findConstructor
in interface BeanInfo<T>
parameterTypes
- the parameter typespublic Field getField(String name)
BeanInfo
public Method getMethod(String name, String... parameterTypes)
BeanInfo
public Method findMethod(String name, String... parameterTypes)
BeanInfo
findMethod
in interface BeanInfo<T>
name
- the method nameparameterTypes
- the parameter typespublic Method getGetter(String propertyName, Class<?> type)
BeanInfo
Copyright © 2017 JBoss by Red Hat. All rights reserved.