| Java API Reference | Class Hierarchy | All Classes | All Fields and Methods |
com.ibm.xtools.patterns.framework
+-- Object +-- AbstractPatternStoreFactory
abstract public Class AbstractPatternStoreFactory
extends Object
Represents the abstract factory in an instance of the abstract factory pattern.
The concrete products are the various types of persistent stores such as the pattern definition and pattern instance stores. The abstract products are defined by the abstract pattern definition store and the abstract pattern instance store classes.
| Constructor summary |
|---|
| AbstractPatternStoreFactory() The default constructor provided automatically by the compiler. |
| Method summary | |
|---|---|
| AbstractPatternStore.Definition | createPatternDefinitionStore() Represents one concrete product in this instantiation of the abstract factory pattern. |
| AbstractPatternStore.Instance | createPatternInstanceStore() Represents another concrete product in this instantiation of the abstract factory pattern. |
Constructor detail
public AbstractPatternStoreFactory()
The default constructor provided automatically by the compiler.
Method detail
abstract public AbstractPatternStore.Definition createPatternDefinitionStore()
Represents one concrete product in this instantiation of the abstract factory pattern.
The method creates a pattern definition store that is based on the concrete factory used.
Returns:
A pattern definition store to use. |
abstract public AbstractPatternStore.Instance createPatternInstanceStore()
Represents another concrete product in this instantiation of the abstract factory pattern.
The method creates a pattern instance store that is based on the concrete factory used. This pattern instance store is compatible with all other concrete products, including the pattern definition store returned back from that particular method.
Returns:
A pattern instance store to use. |