com.arjuna.common.util.propertyservice
Class PropertyManagerFactory
java.lang.Object
com.arjuna.common.util.propertyservice.PropertyManagerFactory
public class PropertyManagerFactory
- extends java.lang.Object
This is the property manager factory used to produce property managers.
- Author:
- Richard A. Begg (richard.begg@arjuna.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyManagerFactory
public PropertyManagerFactory()
getPropertyManagerForModule
public static PropertyManager getPropertyManagerForModule(java.lang.String moduleName,
java.lang.String fileNamePropertyKey)
- Return a PropertyManager for the given module. If no such PropertyManager exists, create one using
the property file whose name is found by resolving the given key property.
- Parameters:
moduleName
- The symbolic name of the application module e.g. 'arjuna', 'txoj'.fileNamePropertyKey
- The name of the property whose value is the config file name.
- Returns:
- a PropertyManager.
getPropertyManagerForFile
public static PropertyManager getPropertyManagerForFile(java.lang.String propertyFileName,
boolean withCaching)