org.jboss.soa.esb.parameters
Class ParamRepositoryFactory

java.lang.Object
  extended by org.jboss.soa.esb.parameters.ParamRepositoryFactory

public abstract class ParamRepositoryFactory
extends java.lang.Object

Factory class for Singleton ParamRepository creation.

Uses the "org.jboss.soa.esb.paramsRepository.class" system property to determine the ParamRepository implementation to be created. If not specified, the default implementation is the ParamFileRepository.

Author:
tom.fennelly@jboss.com

Constructor Summary
ParamRepositoryFactory()
           
 
Method Summary
static ParamRepository getInstance()
          Factory method for creating the Singleton ParamRepository instance for the system.
protected static void reset()
          Resets the factory, allowing creation of a new Singleton instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamRepositoryFactory

public ParamRepositoryFactory()
Method Detail

getInstance

public static ParamRepository getInstance()
Factory method for creating the Singleton ParamRepository instance for the system.

Returns:
The ParamRepository instance for the system.

reset

protected static void reset()
Resets the factory, allowing creation of a new Singleton instance.

Should only need to be used for testing purposes.