| Java API Reference | Class Hierarchy | All Classes | All Fields and Methods |
com.ibm.xtools.patterns.framework
+-- Object +-- AbstractConfiguration
abstract public Class AbstractConfiguration
extends Object
Provides a default inner class and holds a reusable singleton instance of the default for public access.
Other framework configuration classes can extend the abstract framework configuration class, for many purposes, such as providing another pattern instance store implementation for use by the pattern framework abstractions.
The abstract pattern library holds an abstract framework configuration. The library provides a getter method getPatternStoreFactory() for obtaining a hook to the framework configuration of the library that is governing the library in the framework. The abstract library has a framework configuration factory method allowing subclasses to override the implementation of which framework configuration is created.
The framework configuration should contain all configuration settings that affect the functionality of a pattern library. The configuration settings pertain to all patterns in a given library. Currently, only the pattern persistence store selection is included.
| Constructor summary |
|---|
| AbstractConfiguration() |
| Method summary | |
|---|---|
| AbstractPatternStore.Definition | createPatternDefinitionStore() Creates a new pattern definition store using the concrete pattern store factory. |
| AbstractPatternStore.Instance | createPatternInstanceStore() Creates a new pattern instance store using the concrete pattern store factory. |
| AbstractPatternStoreFactory | getPatternStoreFactory() Retrieves the concrete pattern store factory that conforms to the abstract pattern store factory interface. |
Constructor detail
Method detail
public AbstractPatternStore.Definition createPatternDefinitionStore()
Creates a new pattern definition store using the concrete pattern store factory.
Returns:
The new pattern definition store. |
public AbstractPatternStore.Instance createPatternInstanceStore()
Creates a new pattern instance store using the concrete pattern store factory.
Returns:
The new pattern instance store. |
abstract public AbstractPatternStoreFactory getPatternStoreFactory()
Retrieves the concrete pattern store factory that conforms to the abstract pattern store factory interface.
Returns:
The concrete pattern store factory. |