|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.api.config.domain.AbstractAdminModeSupportedPropertiesManagement de.smartics.properties.impl.config.cache.AbstractCacheConfigurationPropertiesManagement de.smartics.properties.impl.config.cache.CacheConfigurationPropertiesManagement
public final class CacheConfigurationPropertiesManagement
A delegate that provides a cache.
Constructor Summary | |
---|---|
CacheConfigurationPropertiesManagement(ConfigurationPropertiesManagementSpi delegate) Default constructor. |
Method Summary | |
---|---|
protected ConfigurationPropertiesManagementSpi |
getDelegate() Returns a reference to the delegate. |
PropertyStoreAccessor |
getPropertyStoreAccessor() Provides direct access to the properties in the underlying store. |
boolean |
isInAdminMode() Checks whether or not this configuration is in administration mode. |
void |
setToAdminMode(boolean newMode) Sets the administration mode for this configuration. |
SerializableConfigurationPropertiesManagement |
toSerializable() Creates a serializable variant of this implementation. |
Methods inherited from class de.smartics.properties.api.config.domain.AbstractAdminModeSupportedPropertiesManagement |
---|
toRepresentative |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.smartics.properties.api.config.domain.ConfigurationPropertiesManagement |
---|
addDefinitions, addDescriptors, flush, getDescriptor, getDescriptor, getMandatoryPropertyDescriptors, getPropertyValueSecurity, getRegistry, setProperty, toRepresentative, unsetProperty |
Methods inherited from interface de.smartics.properties.api.config.domain.ConfigurationProperties |
---|
addPropertyChangeListener, addPropertyChangeListener, getContext, getContext, getKey, getProperties, getProperty, getProperty, getProperty, getProperty, getProperty, getPropertyAsType, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValueAsString, getPropertyValueAsString, getPropertyValueAsString, getPropertyValueAsString, getValidatedProperty, getValidatedProperty, getValidatedProperty, removePropertyChangeListener, removePropertyChangeListener, validate, validate, validate, validate, validate |
Constructor Detail |
---|
public CacheConfigurationPropertiesManagement(ConfigurationPropertiesManagementSpi delegate) throws NullPointerException
delegate
- the wrapped delegate whose properties are to be cached.
NullPointerException
- if
delegate
is
null
.
Method Detail |
---|
public boolean isInAdminMode()
AbstractAdminModeSupportedPropertiesManagement
This implementation also checks whether the admin mode is set for the current thread only. Please refer to ConfigControl
for details on how to set the admin mode for the current thread.
isInAdminMode
in interface
ConfigurationProperties
isInAdminMode
in class
AbstractAdminModeSupportedPropertiesManagement
true
if the configuration is in administration mode,
false
otherwise.
public void setToAdminMode(boolean newMode)
ConfigurationPropertiesManagement
setToAdminMode
in interface
ConfigurationPropertiesManagement
setToAdminMode
in class
AbstractAdminModeSupportedPropertiesManagement
newMode
- the new value of the mode
true
if the configuration is to be set in administration mode,
false
if not.
ConfigurationProperties.isInAdminMode()
protected ConfigurationPropertiesManagementSpi getDelegate()
AbstractCacheConfigurationPropertiesManagement
getDelegate
in class
AbstractCacheConfigurationPropertiesManagement
null
.
public SerializableConfigurationPropertiesManagement toSerializable()
ConfigurationPropertiesManagement
toSerializable
in interface
ConfigurationProperties
toSerializable
in interface
ConfigurationPropertiesManagement
ConfigurationPropertiesProxy
,
ConfigurationPropertiesManagementProxy
public PropertyStoreAccessor getPropertyStoreAccessor()
ConfigurationPropertiesManagement
getPropertyStoreAccessor
in interface
ConfigurationPropertiesManagement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |