Serialized Form


Package de.smartics.properties.api.config.app

Class de.smartics.properties.api.config.app.ConfigurationFactoryException extends ConfigurationRootException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.api.config.app.FactoryConfiguration extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

addDefaultRootLocations

boolean addDefaultRootLocations
The flag to tell whether ( true) or not ( false) the URLs of the context class loader should be added.

 

skipClassPathPropertyLoading

boolean skipClassPathPropertyLoading
The flag indicates that loading properties form the class path is to be skipped.

 

useCache

boolean useCache
The flag indicates that a cache should be provided, if supported.

 

decrypter

de.smartics.properties.api.core.security.PropertyValueSecurity decrypter
The helper to decrypt secured property values.

 

Package de.smartics.properties.api.config.codes

Class de.smartics.properties.api.config.codes.ConfigurationRootException extends de.smartics.properties.api.core.app.PropertyRootException implements Serializable

serialVersionUID: 1L


Package de.smartics.properties.api.config.domain

Class de.smartics.properties.api.config.domain.AbstractAdminModeSupportedPropertiesManagement extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

adminMode

boolean adminMode
The switch to turn the management configuration into an administration configuration. In administration mode the configuration allows to deal with properties not allowed in management mode. E.g. read-only properties are not allowed to be changed in management mode, but are allowed to be changed in administration mode.

 

Class de.smartics.properties.api.config.domain.CompoundConfigurationException extends ConfigurationException implements Serializable

serialVersionUID: 1L

Serialized Fields

exceptions

List<E> exceptions
The list of encountered exceptions.

Class de.smartics.properties.api.config.domain.ConfigurationException extends ConfigurationRootException implements Serializable

serialVersionUID: 1L

Serialized Fields

key

ConfigurationKey<T extends ConfigurationKey<?>> key
The key to the configuration that signaled problems.

 

Class de.smartics.properties.api.config.domain.ConfigurationLoadingException extends ConfigurationException implements Serializable

serialVersionUID: 1L

Serialized Fields

resourceId

String resourceId
The string representation of the path of the properties resource that cannot be loaded. This may be an URL, a file name or whatever seems appropriate.

 

Class de.smartics.properties.api.config.domain.ConfigurationMessageBean extends de.smartics.properties.api.core.app.AbstractBaseMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

key

ConfigurationKey<T extends ConfigurationKey<?>> key
The key to the configuration that signaled problems.

 

Class de.smartics.properties.api.config.domain.ConfigurationNotFoundException extends ConfigurationLoadingException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.api.config.domain.ConfigurationValidationException extends ConfigurationException implements Serializable

serialVersionUID: 1L

Serialized Fields

propertyViolations

List<E> propertyViolations
The list of violations.

 

mandatoryProperties

List<E> mandatoryProperties
The list of mandatory properties for which no value has been provided.

 

unknownProperties

UnknownProperties unknownProperties
The list of unknown properties.

 

Class de.smartics.properties.api.config.domain.DescribedProperty extends Property implements Serializable

serialVersionUID: 1L

Serialized Fields

configurationKey

ConfigurationKey<T extends ConfigurationKey<?>> configurationKey
The identifier of the configuration this property is part of. The value is set to null, if the property has not been found in a configuration. With other words, the property has a default or no value.

 

descriptor

de.smartics.properties.api.core.domain.PropertyDescriptor descriptor
The descriptor to the property to access property metadata.

 

Class de.smartics.properties.api.config.domain.DuplicateConfigurationException extends ConfigurationException implements Serializable

serialVersionUID: 1L

Serialized Fields

currentConfigurationProperties

ConfigurationPropertiesManagement currentConfigurationProperties
The configuration that has been registered and is currently active.

 

duplicateConfigurationProperties

ConfigurationPropertiesManagement duplicateConfigurationProperties
The configuration that is a duplication of the current configuration and has been rejected from being registered with the given key.

 

Class de.smartics.properties.api.config.domain.DuplicatePropertyDefinitionException extends ConfigurationException implements Serializable

serialVersionUID: 1L

Serialized Fields

currentDefinition

PropertyDefinition currentDefinition
The previously encountered and currently active property.

 

newDefinition

PropertyDefinition newDefinition
The new encountered property descriptor with the same key.

 

Class de.smartics.properties.api.config.domain.DuplicatePropertyException extends ConfigurationException implements Serializable

serialVersionUID: 1L

Serialized Fields

currentProperty

Property currentProperty
The currently active property.

 

newProperty

Property newProperty
The new encountered property with the same key.

 

Class de.smartics.properties.api.config.domain.MissingConfigurationException extends ConfigurationException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.api.config.domain.Property extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

source

PropertyLocation source
The optional source where the property value has been defined. This is an arbitrary name that defines the origin in its context.

 

name

String name
The name of the property. Must not blank.

 

value

String value
The value of the property. May be null.

 

Class de.smartics.properties.api.config.domain.PropertyDefinition extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

descriptor

de.smartics.properties.api.core.domain.PropertyDescriptor descriptor
The descriptor of the property.


property

Property property
The value and location information of the property.

Class de.smartics.properties.api.config.domain.PropertyExpressionWithSourceMessageBean extends de.smartics.properties.api.core.domain.PropertyExpressionMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

source

PropertyLocation source
The source where the property value has been defined.

 

Class de.smartics.properties.api.config.domain.PropertyIndex extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

configurationKey

ConfigurationKey<T extends ConfigurationKey<?>> configurationKey
The key to the configuration the properties are part of.

 

properties

Map<K,V> properties
The index of properties.

 

Class de.smartics.properties.api.config.domain.PropertyLocation extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

applicationId

ApplicationId applicationId
The identifier of the application archive that contains the property. The value may be null if no archive contains the information. This is e.g. the case if the property is provided by a data source or other external information system.

 

path

String path
The identifier of the property location within the application. The path may serve as an ID like a JNDI name or name the path to a properties file within the archive.

This value must not be null.

 

Class de.smartics.properties.api.config.domain.PropertyStoreException extends ConfigurationRootException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.api.config.domain.PropertyStoreMessageBean extends de.smartics.properties.api.core.app.AbstractBaseMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

configurationKey

ConfigurationKey<T extends ConfigurationKey<?>> configurationKey
The key to the configuration where problems arise accessing the property store.

 

propertyName

String propertyName
The name of the property that cannot be accessed in the store.

 

Class de.smartics.properties.api.config.domain.PropertyValidationWithSourceException extends de.smartics.properties.api.core.domain.PropertyValidationException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.api.config.domain.PropertyValidationWithSourceMessageBean extends de.smartics.properties.api.core.domain.PropertyValidationMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

source

PropertyLocation source
The source where the property value has been defined.

 

Class de.smartics.properties.api.config.domain.PropertyValueConversionWithSourceException extends de.smartics.properties.api.core.domain.PropertyValueConversionException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.api.config.domain.PropertyValueResolveWithSourceException extends de.smartics.properties.api.core.domain.PropertyValueResolveException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.api.config.domain.PropertyValueWithSourceMessageBean extends de.smartics.properties.api.core.domain.PropertyValueMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

source

PropertyLocation source
The source where the property value has been defined.

 

Class de.smartics.properties.api.config.domain.TypeProblemMessageBean extends de.smartics.properties.api.core.app.AbstractBaseMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

type

String type
The type that is the cause of the problem.

 

Class de.smartics.properties.api.config.domain.UnknownProperties extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

properties

List<E> properties
The list of unknown properties.

 

Class de.smartics.properties.api.config.domain.UnknownPropertyException extends ConfigurationException implements Serializable

serialVersionUID: 1L

Serialized Fields

propertyKey

String propertyKey
The key to the unknown property.

 

Class de.smartics.properties.api.config.domain.ValidatedProperty extends DescribedProperty implements Serializable

serialVersionUID: 1L

Serialized Fields

expression

String expression
The property expression. May be null. If the property value is null, the expression is checked for default values.

 

validatedValue

Object validatedValue
The validated value. The property value is resolved, converted, and validated to this value. May be null.

 

Package de.smartics.properties.api.config.domain.key

Class de.smartics.properties.api.config.domain.key.ApplicationId extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

groupId

String groupId
The group the application belongs to.

 

artifactId

String artifactId
The name of the application.

 

version

String version
The version of the application.

 

Class de.smartics.properties.api.config.domain.key.EnvironmentId extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name
The name of the environment.

 

node

String node
The optional identifier of the node within the given environment.

 

Package de.smartics.properties.api.config.ds

Class de.smartics.properties.api.config.ds.DataSourceConfiguration extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

configSourceId

String configSourceId
The source of the data source configuration.

 

jndiName

String jndiName
The name of the data source to lookup in a JNDI context.

 

dropTable

boolean dropTable
The flag to drop the configuration table if set to true.

 

createTable

boolean createTable
The flag to create the configuration if set to true.

 

Package de.smartics.properties.api.config.transfer

Class de.smartics.properties.api.config.transfer.TransferException extends ConfigurationException implements Serializable

serialVersionUID: 1L


Package de.smartics.properties.impl.config.cache

Class de.smartics.properties.impl.config.cache.AbstractCacheConfigurationPropertiesManagement extends AbstractAdminModeSupportedPropertiesManagement implements Serializable

serialVersionUID: 1L

Serialized Fields

cache

de.smartics.properties.impl.config.cache.DependencyTrackingCache cache
The cache implementation that provides synchronized access to the stored elements.

Class de.smartics.properties.impl.config.cache.CacheConfigurationPropertiesManagement extends AbstractCacheConfigurationPropertiesManagement implements Serializable

serialVersionUID: 1L

Serialized Fields

delegate

ConfigurationPropertiesManagementSpi delegate
The wrapped delegate whose properties are to be cached.

Class de.smartics.properties.impl.config.cache.SerializableCacheConfigurationPropertiesManagement extends AbstractCacheConfigurationPropertiesManagement implements Serializable

serialVersionUID: 1L

Serialized Fields

delegate

SerializableConfigurationPropertiesManagementSpi delegate
The wrapped delegate whose properties are to be cached.

 

Package de.smartics.properties.impl.config.classpath

Class de.smartics.properties.impl.config.classpath.ClasspathConfigurationProperties extends AbstractInMemoryConfigurationProperties implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.impl.config.classpath.ClasspathConfigurationPropertiesFactory extends AbstractConfigurationPropertiesFactory<ClasspathConfigurationProperties> implements Serializable

serialVersionUID: 1L


Package de.smartics.properties.impl.config.domain.key.envapp

Class de.smartics.properties.impl.config.domain.key.envapp.AbstractConfigurationKey extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

environmentId

EnvironmentId environmentId
The identifier of the environment the application is deployed in.

 

applicationId

ApplicationId applicationId
The identifier of the application whose configuration is requested.

 

hashCodeValue

int hashCodeValue
The pre-calculated hash code of this instance.

 

Class de.smartics.properties.impl.config.domain.key.envapp.AbstractPropertiesDefinitionContext extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

tlds

Set<E> tlds
The collection of top-level-domains (tlds). Country codes (two letters) are not necessarily mentioned here since they are dealt with generically.

 

environments

Set<E> environments
The collection of registered environment names.

 

nodes

Set<E> nodes
The collection of registered node names.

 

groups

Set<E> groups
The collection of registered group names.

 

matchers

PropertyResourceMatchers matchers
The matcher of properties file path names to a associated configuration key.

 

Class de.smartics.properties.impl.config.domain.key.envapp.EnvAppConfigurationKey extends AbstractConfigurationKey<EnvAppConfigurationKey> implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.impl.config.domain.key.envapp.EnvAppConfigurationKeyHelper extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

preferEarManifest

boolean preferEarManifest
The flag to signal that the manifest of a EAR file (with the extension ear) is preferred if present.

 

Class de.smartics.properties.impl.config.domain.key.envapp.EnvAppDefinitionKeyHelper extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

context

EnvAppPropertiesDefinitionContext context
The context to evaluate the configuration keys from properties file paths.

 

Class de.smartics.properties.impl.config.domain.key.envapp.EnvAppPropertiesDefinitionContext extends AbstractPropertiesDefinitionContext implements Serializable

serialVersionUID: 1L


Package de.smartics.properties.impl.config.domain.key.rtaware

Class de.smartics.properties.impl.config.domain.key.rtaware.TenantId extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name
The name of the tenant.

 

Class de.smartics.properties.impl.config.domain.key.rtaware.TenantUserConfigurationKey extends AbstractConfigurationKey<TenantUserConfigurationKey> implements Serializable

serialVersionUID: 1L

Serialized Fields

tenantId

TenantId tenantId
The identifier of the tenant the configuration is for.

 

userId

UserId userId
The identifier of the user the configuration is for.

 

hashCodeValue

int hashCodeValue
The pre-calculated hash code of this instance.

 

Class de.smartics.properties.impl.config.domain.key.rtaware.TenantUserConfigurationKeyHelper extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

helper

EnvAppConfigurationKeyHelper helper
Constructs the environment and application part.

 

Class de.smartics.properties.impl.config.domain.key.rtaware.TenantUserDefinitionKeyHelper extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

context

TenantUserPropertiesDefinitionContext context
The context to evaluate the configuration keys from properties file paths.

 

Class de.smartics.properties.impl.config.domain.key.rtaware.TenantUserPropertiesDefinitionContext extends AbstractPropertiesDefinitionContext implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.impl.config.domain.key.rtaware.UserId extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name
The name of a name. May be null.

 

Package de.smartics.properties.impl.config.ds

Class de.smartics.properties.impl.config.ds.AutodetectDataSourceConfigurationPropertiesFactory extends AbstractConfigurationPropertiesFactory<ConfigurationPropertiesManagement> implements Serializable

serialVersionUID: 1L

Serialized Fields

manager

PropertiesStore manager
The cached manager for reuse to access properties information.


configuration

DataSourceConfiguration configuration
Optional datasource configuration. When not set via constructor it will be searched for a configuration in META-INF.

Class de.smartics.properties.impl.config.ds.DataSourceConfigurationJndiLoader extends Object implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.impl.config.ds.DataSourceConfigurationLoader extends Object implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.impl.config.ds.DataSourceConfigurationProperties extends AbstractExternalConfigurationPropertiesManagement implements Serializable

serialVersionUID: 1L

Serialized Fields

store

PropertiesStore store
The store containing properties.

 

propertyStoreAccessor

PropertyStoreAccessor propertyStoreAccessor
The helper to access properties in a property store directly.

 

Class de.smartics.properties.impl.config.ds.DataSourceConfigurationPropertiesFactory extends AbstractConfigurationPropertiesFactory<ConfigurationPropertiesManagement> implements Serializable

serialVersionUID: 1L

Serialized Fields

manager

PropertiesStore manager
The cached manager for reuse to access properties information.

Class de.smartics.properties.impl.config.ds.DataSourceConfigurationPropertiesLoader extends Object implements Serializable

serialVersionUID: 1L


Package de.smartics.properties.impl.config.jndi

Class de.smartics.properties.impl.config.jndi.JndiConfigurationProperties extends AbstractExternalConfigurationPropertiesManagement implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Reads the object from the given stream.

Throws:
IOException - on read problems or if the JNDI context cannot be established.
ClassNotFoundException - if a class cannot be found.

Class de.smartics.properties.impl.config.jndi.JndiConfigurationPropertiesFactory extends AbstractConfigurationPropertiesFactory<ConfigurationPropertiesManagement> implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.impl.config.jndi.JndiConfigurationPropertyProvider extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

configurationKey

ConfigurationKey<T extends ConfigurationKey<?>> configurationKey
The identifier of the configuration the provided properties are part of.

 

context

de.smartics.properties.api.core.app.JndiContext context
The context in JNDI to access properties for the given configuration key.

 

manager

de.smartics.properties.impl.config.jndi.JndiPropertyStoreAccessor manager
The manager to access properties in an JNDI store.

Class de.smartics.properties.impl.config.jndi.JndiContextMessageBean extends de.smartics.properties.api.core.app.AbstractBaseMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

sourceId

String sourceId
The identifier of the JNDI context in trouble.

 

configurationKey

String configurationKey
The key to the configuration where problems arise accessing the JNDI context.

 

Class de.smartics.properties.impl.config.jndi.JndiPropertyStoreException extends PropertyStoreException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.impl.config.jndi.JndiPropertyStoreMessageBean extends PropertyStoreMessageBean implements Serializable

serialVersionUID: 1L


Package de.smartics.properties.impl.config.properties

Class de.smartics.properties.impl.config.properties.PropertiesConfigurationProperties extends AbstractInMemoryConfigurationProperties implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.impl.config.properties.PropertiesConfigurationPropertiesFactory extends AbstractConfigurationPropertiesFactory<PropertiesConfigurationProperties> implements Serializable

serialVersionUID: 1L


Package de.smartics.properties.impl.config.resource

Class de.smartics.properties.impl.config.resource.AutodetectDataSourceResourceConfigurationPropertiesFactory extends AutodetectDataSourceConfigurationPropertiesFactory implements Serializable

serialVersionUID: 1L

Serialized Fields

artifactIds

Map<K,V> artifactIds
The list of artifact that reference all resources to access to read property declarations and definitions.

 

Class de.smartics.properties.impl.config.resource.ResourceConfigurationPropertiesFactory extends AbstractConfigurationPropertiesFactory<ConfigurationPropertiesManagement> implements Serializable

serialVersionUID: 1L

Serialized Fields

artifactIds

Map<K,V> artifactIds
The list of artifact that reference all resources to access to read property declarations and definitions.

 

Package de.smartics.properties.spi.config.cache

Class de.smartics.properties.spi.config.cache.CacheConfigurationJndiLoader extends Object implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.spi.config.cache.CacheConfigurationLoader extends Object implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.spi.config.cache.CacheConfigurationPropertiesLoader extends Object implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.spi.config.cache.CacheEntryConfiguration extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

enumEntry

CacheEntryConfigurationType enumEntry
The enum entry for which the configuration shall be searched.

Class de.smartics.properties.spi.config.cache.CacheException extends ConfigurationRootException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.spi.config.cache.CacheMessageBean extends de.smartics.properties.api.core.app.AbstractBaseMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

cacheConfiguration

String cacheConfiguration
The location of the cache configuration.


cacheId

String cacheId
The identifier of the cache. Usually this is the mapped name of the cache.

 

missingProperty

String missingProperty
The identifier of the missing cache configuration property.

 

Class de.smartics.properties.spi.config.cache.CompoundKey extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name
The name of the virtual cache (e.g. configuration key).


key

Object key
The real key.


stringRepresentation

String stringRepresentation
The internal string representation for this object.


Package de.smartics.properties.spi.config.config

Class de.smartics.properties.spi.config.config.ConfigurationJndiLookupLoader extends de.smartics.properties.core.services.AbstractJndiLookupLoader implements Serializable

serialVersionUID: 1L


Package de.smartics.properties.spi.config.definition

Class de.smartics.properties.spi.config.definition.OneKeyPropertiesDefinitionContext extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

configurationKey

ConfigurationKey<T extends ConfigurationKey<?>> configurationKey
The configuration key returned for any path. May be null.

See Also:
OneKeyPropertiesDefinitionContext.getKey(String)

Package de.smartics.properties.spi.config.domain

Class de.smartics.properties.spi.config.domain.ConfigurationPropertiesManagementProxy extends ConfigurationPropertiesProxy implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Reads the object from the given stream.

Throws:
IOException - on read problems.
ClassNotFoundException - if a class cannot be found.

Class de.smartics.properties.spi.config.domain.ConfigurationPropertiesProxy extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Reads the object from the given stream.

Throws:
IOException - on read problems.
ClassNotFoundException - if a class cannot be found.
Serialized Fields

key

ConfigurationKey<T extends ConfigurationKey<?>> key
The key of the configuration properties instance is to be associated with.

 

factory

ConfigurationPropertiesFactory factory
The factory to create instances of the configuration properties.

 

Package de.smartics.properties.spi.config.domain.key

Class de.smartics.properties.spi.config.domain.key.PathMatcher extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

configurationKey

ConfigurationKey<T extends ConfigurationKey<?>> configurationKey
The configuration key the matcher is responsible for.

 

matchers

List<E> matchers
The list of matchers to consult in the given order.

 

Class de.smartics.properties.spi.config.domain.key.PathMatcher.Matcher extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

path

String path
The path to match.

 

wildcardMatch

boolean wildcardMatch
The flag to indicate whether path is a prefix to be match ( true) or if it is an exact match ( false).

 

Class de.smartics.properties.spi.config.domain.key.PropertyResourceMatchers extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

anyKey

ConfigurationKey<T extends ConfigurationKey<?>> anyKey
The default key to match if none of the matchers can be applied. May be null.

 

matchers

List<E> matchers
The matchers for mapping properties resources (file path names) to a configuration key.

 

Package de.smartics.properties.spi.config.ds

Class de.smartics.properties.spi.config.ds.AbstractDataSourceDescriptor extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

table

String table
The name of the configuration table.


configColumn

String configColumn
The name of the configuration key column.


nameColumn

String nameColumn
The name of the property name column.


valueColumn

String valueColumn
The name of the property value column.

Class de.smartics.properties.spi.config.ds.DataSourceConfigurationMessageBean extends DataSourceMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

config

String config
The the key that identifies the configuration.

 

Class de.smartics.properties.spi.config.ds.DataSourceConfigurationPropertyProvider extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

configurationKey

ConfigurationKey<T extends ConfigurationKey<?>> configurationKey
The identifier of the configuration the provided properties are part of.

 

manager

PropertiesStore manager
The access to the properties of the data source.

 

Class de.smartics.properties.spi.config.ds.DataSourceException extends ConfigurationRootException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.spi.config.ds.DataSourceMessageBean extends de.smartics.properties.api.core.app.AbstractBaseMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

dataSourceId

String dataSourceId
The identifier of the data source. Usually this is the connection URL plus any other identifying information.

 

Class de.smartics.properties.spi.config.ds.DataSourcePropertyKeyMessageBean extends DataSourceMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

path

String path
The path to the table that contains the property. This contains the name of the table and the configuration key of the table.

 

propertyKey

String propertyKey
The identifier of the property key that caused problems.

 

Class de.smartics.properties.spi.config.ds.DataSourcePropertyMessageBean extends DataSourcePropertyKeyMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

propertyValue

String propertyValue
The value the property should have been set to.

 

Class de.smartics.properties.spi.config.ds.DefaultDataSourceManager extends AbstractDataSourceDescriptor implements Serializable

serialVersionUID: 1L

Serialized Fields

dataSourceProxy

DataSourceProxy dataSourceProxy
The proxy to provide access to a data source.

 

initialProperties

Map<K,V> initialProperties
The properties to fill the database initially. May be null.

 

dropTable

boolean dropTable
Signals to drop the properties table before creation.

 

ignoreTableCreationProblems

boolean ignoreTableCreationProblems
The flag signals that any problems encountered on creating the table should be ignored. Useful if there are no means to check is a database table already exists.

 

createTableSqlStatement

String createTableSqlStatement
The SQL statement to create the configuration table.


insertOrUpdateSqlStatementTemplate

String insertOrUpdateSqlStatementTemplate
The SQL statement to insert or update a value in the table, dependent on if the value is already in the database or not.

Class de.smartics.properties.spi.config.ds.JndiDataSourceProxy extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Reads the object from the given stream.

Throws:
IOException - on read problems.
ClassNotFoundException - if a class cannot be found.
Serialized Fields

mappedName

String mappedName
The JNDI name to access the data source.

 

Class de.smartics.properties.spi.config.ds.PropertiesStore extends DefaultDataSourceManager implements Serializable

serialVersionUID: 1L


Package de.smartics.properties.spi.config.proxy

Class de.smartics.properties.spi.config.proxy.InvalidArgumentsException extends PropertiesException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.spi.config.proxy.NotAPropertySetAnnotatedInterfaceException extends PropertiesException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.spi.config.proxy.PropertiesException extends RuntimeException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.spi.config.proxy.PropertiesProxyInvocationHandler extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

configurationProperties

SerializableConfigurationProperties configurationProperties
To access the properties.

 

Class de.smartics.properties.spi.config.proxy.PropertyMethodNotFoundException extends PropertiesException implements Serializable

serialVersionUID: 1L


Package de.smartics.properties.spi.config.resolve

Class de.smartics.properties.spi.config.resolve.ConfigurationPropertiesResolveContext extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

registry

de.smartics.properties.api.core.domain.PropertyDescriptorRegistry registry
The registry to resolve property descriptors.

 

config

ConfigurationProperties config
The configuration to adapt.

 

Class de.smartics.properties.spi.config.resolve.NullValuePropertyException extends UnresolvablePropertyException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.spi.config.resolve.RecursivePropertyException extends UnresolvablePropertyException implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.spi.config.resolve.ResolveConfigurationException extends ConfigurationException implements Serializable

serialVersionUID: 1L

Serialized Fields

expression

String expression
The expression that cannot be resolved.

 

Class de.smartics.properties.spi.config.resolve.UnresolvablePropertyException extends RuntimeException implements Serializable

serialVersionUID: 1L

Serialized Fields

propertyKey

String propertyKey
The key to the unresolvable property.

 

path

List<E> path
The path to the recursive point.

 

Package de.smartics.properties.spi.config.support

Class de.smartics.properties.spi.config.support.AbstractConfigurationPropertiesFactory extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Reads the object from the given stream.

Throws:
IOException - on read problems.
ClassNotFoundException - if a class cannot be found.
Serialized Fields

id

String id
The unique identifier of the instance.

 

rootLocations

List<E> rootLocations
The locations to search for property descriptors and definitions.

 

rootPropertyProviders

List<E> rootPropertyProviders
The properties provided by other means than being found on the class path.

While AbstractConfigurationPropertiesFactory.addRootLocations(Collection) and AbstractConfigurationPropertiesFactory.addRootLocations(URL...) allows to declare class path roots to search for properties files automatically, the root property provider allow access to properties that are stored in arbitrary locations and formats. These properties may be stored in databases or any other technology, as long as they provide the concept of key and value.

 

factoryConfiguration

FactoryConfiguration factoryConfiguration
The factory configuration.

 

artifactIds

Map<K,V> artifactIds
The list of artifact that reference all resources to access to read property declarations and definitions.

 

registry

de.smartics.properties.api.core.domain.PropertyDescriptorRegistry registry
The registry of declarations used by all created configurations.

 

lock

ReentrantReadWriteLock lock
The lock for synchronized access.

 

readLock

Lock readLock
The read lock for synchronized access.

 

writeLock

Lock writeLock
The write lock for synchronized access.

 

initialized

boolean initialized
Flag to check if initialization has already taken place.

 

Class de.smartics.properties.spi.config.support.AbstractInMemoryConfigurationProperties extends AbstractConfigurationPropertiesManagement implements Serializable

serialVersionUID: 1L

Serialized Fields

properties

InMemoryPropertiesManager properties
The management of the properties.

 

requiresDefaultOnClassPath

boolean requiresDefaultOnClassPath
The flag controls the behavior on not finding default properties on the classpath. If the value is true not finding the properties file on the class path signals an exception, if set to false the properties are not required to exist. In the latter case the properties may be set purely programatically.

 

propertyStoreAccessor

PropertyStoreAccessor propertyStoreAccessor
The helper to access properties in a property store directly.

 

Class de.smartics.properties.spi.config.support.BootConfigurationProperties extends AbstractInMemoryConfigurationProperties implements Serializable

serialVersionUID: 1L

Class de.smartics.properties.spi.config.support.ConfigurationPropertiesManagementWithDefaults extends AbstractConfigurationProperties implements Serializable

serialVersionUID: 1L

Serialized Fields

configurationProperties

List<E> configurationProperties
The list of configuration properties to consult on requests.

 

propertyStoreAccessor

PropertyStoreAccessor propertyStoreAccessor
The helper to access properties in a property store directly.

 

Class de.smartics.properties.spi.config.support.InMemoryPropertiesManager extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

configurationKey

ConfigurationKey<T extends ConfigurationKey<?>> configurationKey
The key of the configuration whose properties are managed.

 

sourceId

PropertyLocation sourceId
The unique identifier of the property source.

 

propertiesKeyToValueMap

Map<K,V> propertiesKeyToValueMap
The map of properties key strings to their property instance.

 

support

PropertyChangeSupport support
Helper to handle property change listeners.

 

lock

ReentrantReadWriteLock lock
The lock for synchronized access to property values.

 

readLock

Lock readLock
The read lock for synchronized access to property values.

 

writeLock

Lock writeLock
The write lock for synchronized access to property values.

 

Class de.smartics.properties.spi.config.support.PropertiesPropertyProvider extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

configurationKey

ConfigurationKey<T extends ConfigurationKey<?>> configurationKey
The key of the configuration whose properties are provided.

 

sourceId

PropertyLocation sourceId
The unique identifier of the physical source of the properties.

 

properties

Properties properties
The wrapped properties.

 

Package de.smartics.properties.spi.config.transfer

Class de.smartics.properties.spi.config.transfer.DefinitionXmlMessageBean extends de.smartics.properties.api.core.app.AbstractBaseMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

artifact

de.smartics.properties.resource.domain.ArtifactRef artifact
The reference to the artifact that lacks the definition.xml.

 

definitionXml

String definitionXml
The definition.xml that has not been found in the given archive.

 
Constant Field Value:
"META-INF/smartics-properties/definition.xml"

Class de.smartics.properties.spi.config.transfer.NoConfigurationKeyForPropertiesMessageBean extends de.smartics.properties.api.core.app.AbstractBaseMessageBean implements Serializable

serialVersionUID: 1L

Serialized Fields

propertiesFile

String propertiesFile
The name of the properties file for which no configuration key could be determined.

 

definitionXml

String definitionXml
The definition.xml within an archive that contains the key information that maps properties files to a configuration key.

 
Constant Field Value:
"META-INF/smartics-properties/definition.xml"

Class de.smartics.properties.spi.config.transfer.TransferException extends ConfigurationRootException implements Serializable

serialVersionUID: 1L


Package de.smartics.properties.spi.config.validation

Class de.smartics.properties.spi.config.validation.ConfigurationValidator extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

configuration

ConfigurationPropertiesManagement configuration
The configuration to validate.


lenient

boolean lenient
The lenient flag that tells the validation process to handle unknown properties gracefully if set to true. If the value is false unknown properties are reported as validation failures.



Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.