org.argouml.application.configuration
Class ConfigurationFactory

java.lang.Object
  |
  +--org.argouml.application.configuration.ConfigurationFactory

public class ConfigurationFactory
extends java.lang.Object

A factory object that provides configuration information.

Since:
0.9.4

Field Summary
private static ConfigurationHandler _handler
          The active configuration handler.
private static ConfigurationFactory SINGLETON
          The only occurance of the configuration factory.
 
Constructor Summary
private ConfigurationFactory()
          Private constructor to not allow instantiation.
 
Method Summary
 ConfigurationHandler getConfigurationHandler()
          Returns the customized configuration for the user.
static ConfigurationFactory getInstance()
          Returns the instance of the singleton.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLETON

private static final ConfigurationFactory SINGLETON
The only occurance of the configuration factory.


_handler

private static ConfigurationHandler _handler
The active configuration handler.

Constructor Detail

ConfigurationFactory

private ConfigurationFactory()
Private constructor to not allow instantiation.

Method Detail

getInstance

public static final ConfigurationFactory getInstance()
Returns the instance of the singleton.

Returns:
the only instance of the configuration factory.

getConfigurationHandler

public ConfigurationHandler getConfigurationHandler()
Returns the customized configuration for the user.

Returns:
a concrete class which extends ConfigurationHandler and can be used to access and manipulate the configuration.


ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook