|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines the methods for creation of IPropertySource and/or
IPropertyAggregator instances.
This is the Abstract Factory of the Abstract Factory design
pattern.
"Pluggable factories" allow the application to add its own custom
implementations of the IPropertySource and/or
IPropertyAggregator interfaces to the framework in a
consitent, simple way. Custom implementations of the
IPropertySource and/or IPropertyAggregator
interfaces can thus be used as if they were a standard part of the framework.
Examples:
MyCustomPropertyFactory customFactory = new MyCustomPropertyFactory(); PropertyFactory.setPropertyFactory( customFactory );
| Method Summary | |
IPropertyAggregator |
createPropertyAggregator()
Returns a new IPropertyAggregator instance. |
IPropertySource |
createPropertySource(ITransducer aTransducer)
Returns a new IPropertySource instance with the specified
ITransducer instance. |
IPropertySource |
createPropertySource(ITransducer aTransducer,
boolean bWriteable)
Returns a new IPropertySource instance with the specified
ITransducer instance. |
| Method Detail |
public IPropertyAggregator createPropertyAggregator()
IPropertyAggregator instance.public IPropertySource createPropertySource(ITransducer aTransducer)
IPropertySource instance with the specified
ITransducer instance.aTransducer - the ITransducer instance for the created
IPropertySource instance.
public IPropertySource createPropertySource(ITransducer aTransducer,
boolean bWriteable)
IPropertySource instance with the specified
ITransducer instance.aTransducer - the ITransducer instance for the created
IPropertySource instance.aWriteable - if true, the IPropertySource
instance will be created as being writable, otherwise,
the IPropertySource instance will be
read-only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||