de.smartics.properties.spi.config.support
Class AbstractExternalConfigurationPropertiesManagement
java.lang.Object
de.smartics.properties.spi.config.support.AbstractConfigurationProperties
de.smartics.properties.spi.config.support.AbstractAdminModeConfigurationProperties
de.smartics.properties.spi.config.support.AbstractConfigurationPropertiesManagement
de.smartics.properties.spi.config.support.AbstractExternalConfigurationPropertiesManagement
-
All Implemented Interfaces:
-
ConfigurationProperties,
ConfigurationPropertiesManagement,
ConfigurationPropertiesManagementSpi,
ConfigurationPropertiesSpi
-
Direct Known Subclasses:
-
DataSourceConfigurationProperties
-
@ThreadSafe
public abstract class AbstractExternalConfigurationPropertiesManagement
-
extends
AbstractConfigurationPropertiesManagement
-
implements
ConfigurationPropertiesManagement,
ConfigurationPropertiesManagementSpi
Abstract implementation of the ConfigurationProperties
interface.
Methods inherited from class de.smartics.properties.spi.config.support.AbstractConfigurationPropertiesManagement |
addDefinitions, addDescriptors, deletePropertyInStore, flush, getDescriptor, getDescriptor, getMandatoryPropertyDescriptors, getProperty, getProperty, getPropertyAsType, getPropertyCollectionFromStore, getPropertyFromStore, getValidatedProperty, setPropertiesToStore, setProperty, setPropertyToStore, unsetProperty, validate, validate, validate |
Methods inherited from class de.smartics.properties.spi.config.support.AbstractConfigurationProperties |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getContext, getContext, getKey, getProperties, getProperties, getProperty, getProperty, getProperty, getPropertyDescriptor, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValueAsString, getPropertyValueAsString, getPropertyValueAsString, getPropertyValueAsString, getPropertyValueSecurity, getRegistry, getValidatedProperty, getValidatedProperty, removePropertyChangeListener, removePropertyChangeListener, resolveAndConvert, resolveAndConvertAndValidate, toString, validate, validate, validate |
Methods inherited from interface de.smartics.properties.api.config.domain.ConfigurationPropertiesManagement |
addDefinitions, addDescriptors, flush, getDescriptor, getDescriptor, getMandatoryPropertyDescriptors, getPropertyStoreAccessor, getPropertyValueSecurity, getRegistry, setProperty, setToAdminMode, toRepresentative, toSerializable, 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, isInAdminMode, removePropertyChangeListener, removePropertyChangeListener, validate, validate, validate, validate, validate |
AbstractExternalConfigurationPropertiesManagement
protected AbstractExternalConfigurationPropertiesManagement()
-
Constructor for serializable subclasses.
AbstractExternalConfigurationPropertiesManagement
protected AbstractExternalConfigurationPropertiesManagement(ConfigurationKey<?> key,
PropertyDescriptorRegistry registry,
PropertyValueSecurity decrypter)
throws de.smartics.util.lang.NullArgumentException
-
Default constructor.
-
Parameters:
-
key
- the key that identifies the configuration.
-
registry
- the registry to resolve property descriptors.
-
decrypter
- the helper to decrypt secured property values.
-
Throws:
-
de.smartics.util.lang.NullArgumentException
- if
key
,
registry
or
decrypter
is
null
.
addDefinitionsToStore
protected final void addDefinitionsToStore(PropertyProvider properties)
-
Description copied from class:
AbstractConfigurationPropertiesManagement
-
Implementations decide whether or not registered definitions should be written to the store. This is the default and subclasses may override to implement another strategy.
Usually configurations that are backed up by an external (e.g. persistent) store do not want to store definitions here. So they override this method with a no-op.
-
-
Specified by:
-
addDefinitionsToStore
in class
AbstractConfigurationPropertiesManagement
-
-
Parameters:
-
properties
- the properties that are to be registered as definitions.
Copyright © 2012-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.