public class ConfigurationManager
extends java.lang.Object
BeanPool
implementations.Constructor and Description |
---|
ConfigurationManager(Configuration configuration)
Creates
ConfigurationManager for the given
Configuration instance. |
Modifier and Type | Method and Description |
---|---|
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 . |
public ConfigurationManager(Configuration configuration)
ConfigurationManager
for the given
Configuration
instance.configuration
- The Configuration
instancepublic BatchPersistenceEngine getBatchPersistenceEngine()
BatchPersistenceEngine
instancepublic void setBatchPersistenceEngine(BatchPersistenceEngine pBatchPersistenceEngine)
pBatchPersistenceEngine
- The BatchPersistenceEngine
to setpublic java.lang.String getDateFormat()
public java.lang.Class<?> getDefaultPersistenceEngine()
Mapping
annotation isn't specifying another implementation.Class
for the default persistence enginepublic void setDefaultPersistenceEngine(java.lang.Class<?> pClass)
Mapping
annotation isn't specifying another implementation.pClass
- The default persistence engine Class
to setpublic java.util.TimeZone getTimeZone()
TimeZone
.TimeZone
instancepublic void setTimeZone(java.util.TimeZone pTimeZone)
TimeZone
.pTimeZone
- The TimeZone
to configurepublic java.util.List<SlotHandler> getSlotHandlers()
slot handlers
.List
of SlotHandler
spublic void setSlotHandlers(java.util.List<SlotHandler> pSlotHandlers)
slot handlers
.pSlotHandlers
- The List
of SlotHandler
s to setpublic Configuration getConfiguration()
Configuration
.Configuration
instancepublic boolean isSearchingLocale()
Configuration.PROP_SEARCH_LOCALE
property and
converts it to boolean.true
if in case of missing value for the current locale the
localized strings will be retrieved based on first present localized value and false
otherwisepublic boolean isAutoRereadOutdatedObjects()
Configuration.PROP_AUTO_REREAD_OUTDATED_OBJECTS
property and converts it to boolean.true
when an outdated object is modified by the system, it will automatically re-read it from the
registry before applying any changes