de.smartics.properties.spi.config.cache
Class CacheConfigurationLoader

Package class diagram package CacheConfigurationLoader
java.lang.Object
  extended by de.smartics.properties.spi.config.cache.CacheConfigurationLoader
All Implemented Interfaces:
Serializable

public class CacheConfigurationLoader
     
     
extends Object
implements Serializable

Responsible to read configuration properties to connect to a cache stored via JNDI.

See Also:
Serialized Form

Field Summary
static String CACHE_ID
          The identifier of the cache configuration that provides the properties.
static String JNDI_NAME
          The key to the JNDI name stored in the cache configuration file.
 
Constructor Summary
CacheConfigurationLoader()
          Default constructor.
 
Method Summary
 Properties load()
          Loads the cache configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_ID

public static final String CACHE_ID
The identifier of the cache configuration that provides the properties.

The value of this constant is "de.smartics.properties.cache.id".

Constant Field Value:
"de.smartics.properties.cache.id"

JNDI_NAME

public static final String JNDI_NAME
The key to the JNDI name stored in the cache configuration file.

The value of this constant is "de.smartics.properties.cache.jndiName".

Constant Field Value:
"de.smartics.properties.cache.jndiName"
Constructor Detail

CacheConfigurationLoader

public CacheConfigurationLoader()
Default constructor.

Method Detail

load

public Properties load()
                throws CacheException
Loads the cache configuration.

Returns:
the cache configuration.
Throws:
CacheException - on any problem loading the cache.


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