IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.patterns.framework
Class AbstractConfiguration

java.lang.Object
  extended bycom.ibm.xtools.patterns.framework.AbstractConfiguration
Direct Known Subclasses:
AbstractConfiguration.Default

public abstract class AbstractConfiguration
extends Object

The abstract framework configuration class provides a default inner class and holds a reusable singleton instance of the default for public access. Other framework configuration classes can extend this abstract one, 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 for obtaining a hook on to the library's framework configuration 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 a pattern library's functionality. These settings pertain to all patterns in a given library. Currently, only the pattern persistence store selection is included.


Nested Class Summary
static class AbstractConfiguration.Default
          The default framework configuration class, an instance of which is held on to by the outer abstract framework configuration class.
 
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.
abstract  AbstractPatternStoreFactory getPatternStoreFactory()
          Returns the concrete pattern store factory that conforms to the abstract pattern store factory abstract factory interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConfiguration

public AbstractConfiguration()
Method Detail

createPatternDefinitionStore

public AbstractPatternStore.Definition createPatternDefinitionStore()
Creates a new pattern definition store using the concrete pattern store factory. This is a helper method that creates a pattern definition store given the correct factory.

Returns:
the new pattern definition store

createPatternInstanceStore

public AbstractPatternStore.Instance createPatternInstanceStore()
Creates a new pattern instance store using the concrete pattern store factory. This is a helper method that creates a pattern definition store given the correct factory.

Returns:
the new pattern instance store

getPatternStoreFactory

public abstract AbstractPatternStoreFactory getPatternStoreFactory()
Returns the concrete pattern store factory that conforms to the abstract pattern store factory abstract factory interface.

Returns:
the concrete pattern store factory

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.