|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.joda.property.JodaFactory | +--org.joda.property.impl.ProxyPropertyFactory
Default implementation of a Factory for creating properties. This creates the default set of Property classes and PropertyObjects by Proxy.
Field Summary | |
static ProxyPropertyFactory |
INSTANCE
The single instance of the factory |
Constructor Summary | |
protected |
ProxyPropertyFactory()
Constructor. |
Method Summary | |
Bean |
createBean(java.lang.Class type,
java.lang.String name)
Create a new top level Bean. |
protected Bean |
createBeanFromClass(java.lang.Class type,
java.lang.String name)
|
protected Bean |
createBeanFromInterface(java.lang.Class type,
java.lang.String name)
|
BeanList |
createBeanList(java.lang.Class type)
Create a wrapper for a list of beans that can have a typecast get method. |
protected Property |
createProperty(Bean bean,
PropertyMetaData propMetaData)
Create a property for the specified bean |
Property |
createProperty(Bean bean,
java.lang.String name,
java.lang.Class intface)
Create a Property on the bean |
Property |
createProperty(Bean bean,
java.lang.String name,
java.lang.Class intface,
java.lang.Class[] types)
Create a Property on the bean |
Property |
createProperty(Bean bean,
java.lang.String name,
java.lang.Class intface,
java.lang.Class[] types,
PropertyData data)
Create a Property on the bean |
protected PropertyData |
createPropertyData(Property property)
Create a property data object for the specified property. |
protected PropertyData |
createPropertyData(Property property,
PropertyMetaData propMetaData)
Create a property data object for the specified property. |
Methods inherited from class org.joda.property.JodaFactory |
create, create, createBean, createList, getInstance, isFireEvents, setFireEvents, setPropertyFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final ProxyPropertyFactory INSTANCE
Constructor Detail |
protected ProxyPropertyFactory()
Method Detail |
public Bean createBean(java.lang.Class type, java.lang.String name)
JodaFactory
createBean
in class JodaFactory
type
- the bean interface (extends Bean)name
- the name of the bean
JodaFactory.createBean(Class, String)
protected Bean createBeanFromClass(java.lang.Class type, java.lang.String name)
JodaFactory.createBean(Class, String)
protected Bean createBeanFromInterface(java.lang.Class type, java.lang.String name)
JodaFactory.createBean(Class, String)
protected Property createProperty(Bean bean, PropertyMetaData propMetaData)
protected PropertyData createPropertyData(Property property, PropertyMetaData propMetaData)
protected PropertyData createPropertyData(Property property)
public BeanList createBeanList(java.lang.Class type)
createBeanList
in class JodaFactory
type
- the bean list interface (extends BeanList)public Property createProperty(Bean bean, java.lang.String name, java.lang.Class intface)
createProperty
in class JodaFactory
bean
- the bean the property is to be attached toname
- the name of the propertyintface
- the property interface (extends Property)
public Property createProperty(Bean bean, java.lang.String name, java.lang.Class intface, java.lang.Class[] types)
createProperty
in class JodaFactory
bean
- the bean the property is to be attached toname
- the name of the propertyintface
- the property interface (extends Property)types
- the property types (do not extend Property)
public Property createProperty(Bean bean, java.lang.String name, java.lang.Class intface, java.lang.Class[] types, PropertyData data)
createProperty
in class JodaFactory
bean
- the bean the property is to be attached toname
- the name of the propertyintface
- the property interface (extends Property)types
- the property types (do not extend Property)data
- the property data object to use
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |