Package org.jboss.as.pojo.service
Class DefaultBeanInfo<T>
java.lang.Object
org.jboss.as.pojo.service.DefaultBeanInfo<T>
- All Implemented Interfaces:
BeanInfo<T>
Default bean info.
- Author:
- Ales Justin
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultBeanInfo(org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex index, Class<T> beanClass) -
Method Summary
Modifier and TypeMethodDescriptionfindConstructor(String... parameterTypes) Find ctor.findMethod(String name, String... parameterTypes) Find method.getConstructor(String... parameterTypes) Get ctor; exact match wrt parameter types.Get bean's field.Get getter.Get method; exact match wrt parameter types.Get setter.protected <U> Ulookup(org.jboss.as.pojo.service.DefaultBeanInfo.Lookup<U> lookup, int start, int depth) Do lazy lookup.
-
Constructor Details
-
DefaultBeanInfo
-
-
Method Details
-
lookup
protected <U> U lookup(org.jboss.as.pojo.service.DefaultBeanInfo.Lookup<U> lookup, int start, int depth) Do lazy lookup.- Parameters:
lookup- the lookupstart- the startdepth- the depth- Returns:
- reflection index result
-
getConstructor
Description copied from interface:BeanInfoGet ctor; exact match wrt parameter types.- Specified by:
getConstructorin interfaceBeanInfo<T>- Parameters:
parameterTypes- the parameter types- Returns:
- the found ctor
-
findConstructor
Description copied from interface:BeanInfoFind ctor. Loose parameter type matching; not all types need to be known.- Specified by:
findConstructorin interfaceBeanInfo<T>- Parameters:
parameterTypes- the parameter types- Returns:
- the found ctor
-
getField
Description copied from interface:BeanInfoGet bean's field. -
getMethod
Description copied from interface:BeanInfoGet method; exact match wrt parameter types. -
findMethod
Description copied from interface:BeanInfoFind method. Loose parameter type matching; not all types need to be known.- Specified by:
findMethodin interfaceBeanInfo<T>- Parameters:
name- the method nameparameterTypes- the parameter types- Returns:
- found method
-
getGetter
Description copied from interface:BeanInfoGet getter. -
getSetter
Description copied from interface:BeanInfoGet setter.
-