org.gridvise.coherence.cache.config
Class Configuration

java.lang.Object
  extended by org.gridvise.coherence.cache.config.Configuration

public class Configuration
extends Object

Provides certain default values but also has the option to work of a configuration file called 'coherence-utils.properties' or a name provided via system propery 'coherence-utils.configfile'. Also config items can be overriden via system properties.

Author:
christoph

Field Summary
static String CONFIG_FILE_NAME
           
static org.apache.log4j.Logger LOG
           
static String SYSPROP_CONFIG_FILE_NAME
           
 
Constructor Summary
Configuration()
           
 
Method Summary
static String get(String name)
           
static String get(String fileName, String name)
           
static Set<String> getPropertyFiles()
           
static Set<String> getPropertyFiles(String fileName)
           
static String getSchedulingCacheName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_FILE_NAME

public static String CONFIG_FILE_NAME

SYSPROP_CONFIG_FILE_NAME

public static String SYSPROP_CONFIG_FILE_NAME

LOG

public static final org.apache.log4j.Logger LOG
Constructor Detail

Configuration

public Configuration()
Method Detail

get

public static String get(String fileName,
                         String name)

get

public static String get(String name)

getSchedulingCacheName

public static String getSchedulingCacheName()

getPropertyFiles

public static Set<String> getPropertyFiles()

getPropertyFiles

public static Set<String> getPropertyFiles(String fileName)


Copyright © 2013. All Rights Reserved.