org.jcreme.enumerations
Class EnumerationConfiguration

java.lang.Object
  extended byorg.jcreme.enumerations.EnumerationConfiguration

public class EnumerationConfiguration
extends java.lang.Object

This is a singleton class. It stores an EnumerationInitializer so that it is accessible from any point in the Virtual Machine.

Version:
$Revision: 1.2 $
Author:
$Author: dbregeon $

Constructor Summary
protected EnumerationConfiguration()
          Creates a new instance of StaticDataConfiguration
 
Method Summary
 EnumerationInitializer getEnumerationInitializer()
          This method enables access to the EnumerationInitializer.
static EnumerationConfiguration getInstance()
          This is the access method for the singleton.
 void setEnumerationInitializer(EnumerationInitializer initializer)
          This method sets the initializer in this configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumerationConfiguration

protected EnumerationConfiguration()
Creates a new instance of StaticDataConfiguration

Method Detail

getInstance

public static EnumerationConfiguration getInstance()
This is the access method for the singleton.

Returns:
the unique instance of this class.

setEnumerationInitializer

public void setEnumerationInitializer(EnumerationInitializer initializer)
This method sets the initializer in this configuration.

Parameters:
initializer - the initializer to use in this configuration. It can be null.

getEnumerationInitializer

public EnumerationInitializer getEnumerationInitializer()
This method enables access to the EnumerationInitializer.

Returns:
the initializer to use in this configuration. It can be null.


Copyright 2006 null. All Rights Reserved.