de.smartics.properties.api.config.app
Class FactoryConfiguration

Package class diagram package FactoryConfiguration
java.lang.Object
  extended by de.smartics.properties.api.config.app.FactoryConfiguration
All Implemented Interfaces:
Serializable

@ThreadSafe
public final class FactoryConfiguration
     
     
extends Object
implements Serializable

Provides properties to configure an instance of ConfigurationPropertiesFactory.

See Also:
Serialized Form

Constructor Summary
FactoryConfiguration()
          Default constructor.
 
Method Summary
 PropertyValueSecurity getDecrypter()
          Returns the helper to decrypt secured property values.
 boolean isAddDefaultRootLocations()
          Returns the flag to tell whether (true) or not ( false) the URLs of the context class loader should be added.
 boolean isSkipClassPathPropertyLoading()
          Returns the flag indicates that loading properties form the class path is to be skipped.
 boolean isUseCache()
          Returns the flag indicates that a cache should be provided, if supported.
 void setAddDefaultRootLocations(boolean addDefaultRootLocations)
          Sets the flag to tell whether (true) or not ( false) the URLs of the context class loader should be added.
 void setDecrypter(PropertyValueSecurity decrypter)
          Sets the helper to decrypt secured property values.
 void setSkipClassPathPropertyLoading(boolean skipClassPathPropertyLoading)
          Sets the flag indicates that loading properties from the class path is to be skipped.
 void setUseCache(boolean useCache)
          Sets the flag indicates that a cache should be provided, if supported.
 String toString()
           Provides the properties via reflection for displaying debug information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FactoryConfiguration

public FactoryConfiguration()
Default constructor.

Method Detail

isAddDefaultRootLocations

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

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

setAddDefaultRootLocations

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

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

isSkipClassPathPropertyLoading

public boolean isSkipClassPathPropertyLoading()
Returns the flag indicates that loading properties form the class path is to be skipped.

Returns:
the flag indicates that loading properties form the class path is to be skipped.

setSkipClassPathPropertyLoading

public void setSkipClassPathPropertyLoading(boolean skipClassPathPropertyLoading)
Sets the flag indicates that loading properties from the class path is to be skipped.

Parameters:
skipClassPathPropertyLoading - the flag indicates that loading properties from the class path is to be skipped.

isUseCache

public boolean isUseCache()
Returns the flag indicates that a cache should be provided, if supported.

Returns:
the flag indicates that a cache should be provided, if supported.

setUseCache

public void setUseCache(boolean useCache)
Sets the flag indicates that a cache should be provided, if supported.

Parameters:
useCache - the flag indicates that a cache should be provided, if supported.

getDecrypter

public PropertyValueSecurity getDecrypter()
Returns the helper to decrypt secured property values.

Returns:
the helper to decrypt secured property values.

setDecrypter

public void setDecrypter(PropertyValueSecurity decrypter)
Sets the helper to decrypt secured property values.

Parameters:
decrypter - the helper to decrypt secured property values.

toString

public String toString()

Provides the properties via reflection for displaying debug information.

Please note that calling this method may not be thread-safe. The flag printed may not reflect an actual state or a state that ever existed.

Overrides:
toString in class Object
See Also:
Object.toString()


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