com.softwareag.centrasite.appl.framework.persistence.impl
Class ConfigurationManager

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.persistence.impl.ConfigurationManager

public class ConfigurationManager
extends java.lang.Object

This takes care of the configurations for the JAXR-to-Bean Mapper. Used internally by the BeanPool implementations.


Constructor Summary
ConfigurationManager(Configuration configuration)
          Creates ConfigurationManager for the given Configuration instance.
 
Method Summary
 BatchPersistenceEngine getBatchPersistenceEngine()
          Retrieves the batch persistence engine
 Configuration getConfiguration()
          Retrieves the Configuration
 java.lang.String getDateFormat()
          Retrieves the date format for the JAXR registry.
 java.lang.Class<?> getDefaultPersistenceEngine()
          Returns the default persistence engine, which is used, if the Mapping annotation isn't specifying another implementation.
 java.util.List<SlotHandler> getSlotHandlers()
          Returns the list of slot handlers.
 java.util.TimeZone getTimeZone()
          Returns the configured TimeZone.
 boolean isAutoRereadOutdatedObjects()
          Retrieves the Configuration.PROP_AUTO_REREAD_OUTDATED_OBJECTS property and converts it to boolean.
 boolean isSearchingLocale()
          Retrieves the Configuration.PROP_SEARCH_LOCALE property and converts it to boolean.
 void setBatchPersistenceEngine(BatchPersistenceEngine pBatchPersistenceEngine)
          Sets the batch persistence engine
 void setDefaultPersistenceEngine(java.lang.Class<?> pClass)
          Sets the default persistence engine, which is used, if the Mapping annotation isn't specifying another implementation.
 void setSlotHandlers(java.util.List<SlotHandler> pSlotHandlers)
          Sets the list of slot handlers.
 void setTimeZone(java.util.TimeZone pTimeZone)
          Sets the configured TimeZone.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationManager

public ConfigurationManager(Configuration configuration)
Creates ConfigurationManager for the given Configuration instance.

Parameters:
configuration -
Method Detail

getBatchPersistenceEngine

public BatchPersistenceEngine getBatchPersistenceEngine()
Retrieves the batch persistence engine

Returns:
BatchPersistenceEngine

setBatchPersistenceEngine

public void setBatchPersistenceEngine(BatchPersistenceEngine pBatchPersistenceEngine)
Sets the batch persistence engine


getDateFormat

public java.lang.String getDateFormat()
Retrieves the date format for the JAXR registry.


getDefaultPersistenceEngine

public java.lang.Class<?> getDefaultPersistenceEngine()
Returns the default persistence engine, which is used, if the Mapping annotation isn't specifying another implementation.


setDefaultPersistenceEngine

public void setDefaultPersistenceEngine(java.lang.Class<?> pClass)
Sets the default persistence engine, which is used, if the Mapping annotation isn't specifying another implementation.


getTimeZone

public java.util.TimeZone getTimeZone()
Returns the configured TimeZone.


setTimeZone

public void setTimeZone(java.util.TimeZone pTimeZone)
Sets the configured TimeZone.


getSlotHandlers

public java.util.List<SlotHandler> getSlotHandlers()
Returns the list of slot handlers.


setSlotHandlers

public void setSlotHandlers(java.util.List<SlotHandler> pSlotHandlers)
Sets the list of slot handlers.


getConfiguration

public Configuration getConfiguration()
Retrieves the Configuration

Returns:
Configuration

isSearchingLocale

public boolean isSearchingLocale()
Retrieves the Configuration.PROP_SEARCH_LOCALE property and converts it to boolean.

Returns:
boolean

isAutoRereadOutdatedObjects

public boolean isAutoRereadOutdatedObjects()
Retrieves the Configuration.PROP_AUTO_REREAD_OUTDATED_OBJECTS property and converts it to boolean.

Returns:
boolean