|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.beans.info.plugins.AbstractBeanInfoFactory
public class AbstractBeanInfoFactory
A bean info factory.
| Field Summary | |
|---|---|
protected Map<ClassLoader,Map<String,BeanInfo>> |
cache
The cache |
| Constructor Summary | |
|---|---|
AbstractBeanInfoFactory()
Create a new bean info factory |
|
| Method Summary | |
|---|---|
protected BeanInfo |
createBeanInfo(ClassAdapter classAdapter,
Set<PropertyInfo> properties,
Set<ConstructorInfo> constructors,
Set<MethodInfo> methods,
Set<EventInfo> events)
Create the bean info |
protected Set<PropertyInfo> |
getAnnotationProperties(Set<MethodInfo> methods)
Get the properties for an annotation |
BeanInfo |
getBeanInfo(ClassAdapter classAdapter)
Retrieve the bean information |
protected Set<PropertyInfo> |
getBeanProperties(Set<MethodInfo> methods)
Get the properties for a bean |
protected Set<ConstructorInfo> |
getConstructors(ClassInfo classInfo)
Get the constructors |
protected Set<EventInfo> |
getEvents(ClassInfo classInfo)
Get the events |
protected static String |
getLowerPropertyName(String name)
|
protected Set<MethodInfo> |
getMethods(ClassInfo classInfo)
Get the methods |
protected TypeInfo |
getPropertyType(MethodInfo getter,
MethodInfo setter)
Determine the type of PropertyInfo. |
protected static String |
getUpperPropertyName(String name)
|
protected static boolean |
isGetter(MethodInfo minfo)
|
protected static boolean |
isSetter(MethodInfo minfo)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map<ClassLoader,Map<String,BeanInfo>> cache
| Constructor Detail |
|---|
public AbstractBeanInfoFactory()
| Method Detail |
|---|
protected static boolean isGetter(MethodInfo minfo)
protected static boolean isSetter(MethodInfo minfo)
protected static String getUpperPropertyName(String name)
protected static String getLowerPropertyName(String name)
public BeanInfo getBeanInfo(ClassAdapter classAdapter)
BeanInfoFactory
getBeanInfo in interface BeanInfoFactoryclassAdapter - the classAdapter
protected BeanInfo createBeanInfo(ClassAdapter classAdapter,
Set<PropertyInfo> properties,
Set<ConstructorInfo> constructors,
Set<MethodInfo> methods,
Set<EventInfo> events)
classAdapter - the class adapterproperties - the propertiesconstructors - the constructorsmethods - the methodsevents - the events
protected Set<ConstructorInfo> getConstructors(ClassInfo classInfo)
classInfo - the class info
protected Set<MethodInfo> getMethods(ClassInfo classInfo)
classInfo - the class info
protected Set<PropertyInfo> getBeanProperties(Set<MethodInfo> methods)
methods - the methods
protected TypeInfo getPropertyType(MethodInfo getter,
MethodInfo setter)
getter - the gettersetter - the setter
protected Set<PropertyInfo> getAnnotationProperties(Set<MethodInfo> methods)
methods - the methods
protected Set<EventInfo> getEvents(ClassInfo classInfo)
classInfo - the class info
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||