|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.impl.config.cache.AbstractCacheConfigurationPropertiesManagement de.smartics.properties.impl.config.cache.SerializableCacheConfigurationPropertiesManagement
public final class SerializableCacheConfigurationPropertiesManagement
A delegate that provides a cache.
Constructor Summary | |
---|---|
SerializableCacheConfigurationPropertiesManagement(SerializableConfigurationPropertiesManagementSpi delegate) Default constructor. |
Method Summary | ||
---|---|---|
protected ConfigurationPropertiesManagementSpi |
getDelegate() Returns a reference to the delegate. |
|
|
getProperties(Class<T> propertiesInterface, SerializableConfigurationProperties configuration) Returns a implementation of the given interface that has access to the property keys, the property descriptors and the properties itself, when they are declared in the given interface. |
|
SerializableConfigurationPropertiesManagement |
toSerializable() Creates a serializable variant of this implementation. |
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, getRegistry, setProperty, unsetProperty |
Methods inherited from interface de.smartics.properties.api.config.domain.ConfigurationProperties |
---|
addPropertyChangeListener, addPropertyChangeListener, getContext, getContext, getKey, getProperties, getProperty, getProperty, getProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValueAsString, getPropertyValueAsString, getPropertyValueAsString, getPropertyValueAsString, getResolvedProperty, getResolvedProperty, getResolvedProperty, removePropertyChangeListener, removePropertyChangeListener, validate, validate |
Constructor Detail |
---|
public SerializableCacheConfigurationPropertiesManagement(SerializableConfigurationPropertiesManagementSpi delegate) throws NullPointerException
delegate
- the wrapped delegate whose properties are to be cached.
NullPointerException
- if
delegate
is
null
.
Method Detail |
---|
protected ConfigurationPropertiesManagementSpi getDelegate()
AbstractCacheConfigurationPropertiesManagement
getDelegate
in class
AbstractCacheConfigurationPropertiesManagement
null
.
public <T> T getProperties(Class<T> propertiesInterface, SerializableConfigurationProperties configuration)
ConfigurationPropertiesSpi
PropertySet
annotation.
Allows to pass in a configuration to consult.
getProperties
in interface
ConfigurationPropertiesSpi
T
- type variable to enable a type save return value.
propertiesInterface
- a
PropertySet
annotated interface for which a implementation to access the property keys, descriptors and values is requested.
configuration
- the access to the properties. Must not be
null
.
public SerializableConfigurationPropertiesManagement toSerializable()
ConfigurationProperties
toSerializable
in interface
ConfigurationProperties
toSerializable
in interface
ConfigurationPropertiesManagement
ConfigurationPropertiesProxy
,
ConfigurationPropertiesManagementProxy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |