| Java API Reference | Class Hierarchy | All Classes | All Fields and Methods |
com.ibm.xtools.patterns.framework
+-- Object +-- AbstractPatternStore
abstract public Class AbstractPatternStore
extends Object
Represents the abstract pattern store that defines the common set of operations across all persistent stores for patterns, definitions and instances.
When the various operations are called, the contract for this abstract class is that all operations go directly against the underlying persistent values and the store itself is stateless with regards to framework abstractions.
Different metamodels can be adapted to store this data by writing an appropriate pattern store for a particular metamodel. Once both a pattern definition and a pattern instance store have been implemented, a concrete factory that groups this family of concrete products together is also needed.
To switch in a different pattern store for use in a pattern library, the abstract configuration class must be extended and the factory method in the abstract pattern library must be overridden to create instances of the appropriate framework configuration (which refers to and creates the needed concrete pattern store factory).
| Constructor summary |
|---|
| AbstractPatternStore() |
Constructor detail