de.smartics.properties.impl.config.domain.key.envapp
Class EnvAppConfigurationKeyContext

Package class diagram package EnvAppConfigurationKeyContext
java.lang.Object
  extended by de.smartics.properties.impl.config.domain.key.envapp.EnvAppConfigurationKeyContext
All Implemented Interfaces:
ConfigurationKeyContext

public final class EnvAppConfigurationKeyContext
     
     
extends Object
implements ConfigurationKeyContext

Implementation that supports environment and application IDs.


Constructor Summary
EnvAppConfigurationKeyContext()
          Default constructor.
 
Method Summary
 ConfigurationKeyFactory<?> configurationKeyFactory()
          Provides access to the configuration key factory.
 ConfigurationKeyHelper configurationKeyHelper(boolean preferEarManifest)
          Provides a helper to create a configuration key at runtime.
 DefinitionConfigParser<?> definitionConfigParser()
          Provides a parser to parse definition files.
 DefinitionKeyHelper definitionKeyHelper()
          Provides a contextless definition helper.
 DefinitionKeyHelper definitionKeyHelper(PropertiesDefinitionContext definitionContext)
          Provides a contextaware definition helper.
 KeyListBuilder keyListBuilder()
          Provides access to the key list builder that creates a list of configuration keys to fetch property values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvAppConfigurationKeyContext

public EnvAppConfigurationKeyContext()
Default constructor.

Method Detail

configurationKeyFactory

public ConfigurationKeyFactory<?> configurationKeyFactory()
Description copied from interface: ConfigurationKeyContext
Provides access to the configuration key factory.

Specified by:
configurationKeyFactory in interface ConfigurationKeyContext
Returns:
a factory to create special configuration keys.

keyListBuilder

public KeyListBuilder keyListBuilder()
Description copied from interface: ConfigurationKeyContext
Provides access to the key list builder that creates a list of configuration keys to fetch property values.

Specified by:
keyListBuilder in interface ConfigurationKeyContext
Returns:
the key list builder that creates a list of configuration keys to fetch property values.

definitionConfigParser

public DefinitionConfigParser<?> definitionConfigParser()
Description copied from interface: ConfigurationKeyContext
Provides a parser to parse definition files.

Specified by:
definitionConfigParser in interface ConfigurationKeyContext
Returns:
a parser to parse definition files.

definitionKeyHelper

public DefinitionKeyHelper definitionKeyHelper()
Description copied from interface: ConfigurationKeyContext
Provides a contextless definition helper.

Specified by:
definitionKeyHelper in interface ConfigurationKeyContext
Returns:
a definition helper.

definitionKeyHelper

public DefinitionKeyHelper definitionKeyHelper(PropertiesDefinitionContext definitionContext)
Description copied from interface: ConfigurationKeyContext
Provides a contextaware definition helper.

Specified by:
definitionKeyHelper in interface ConfigurationKeyContext
Parameters:
definitionContext - the context to base the definition helper.
Returns:
a definition helper.

configurationKeyHelper

public ConfigurationKeyHelper configurationKeyHelper(boolean preferEarManifest)
Description copied from interface: ConfigurationKeyContext
Provides a helper to create a configuration key at runtime.

Specified by:
configurationKeyHelper in interface ConfigurationKeyContext
Parameters:
preferEarManifest - the flag to signal that the manifest of a EAR file (with the extension ear) is preferred if present.
Returns:
a configuration key helper.


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