cgl.imr.config
Class TwisterConfigurations

java.lang.Object
  extended by cgl.imr.config.TwisterConfigurations

public class TwisterConfigurations
extends Object

Wrapper class for Twister related properties. These properties are read from a file named twister.properties that is available in the classpath.


Field Summary
protected  int daemonPortBase
           
protected  String localAppJarDir
           
protected  String localDataDir
           
protected  String nodeFile
           
protected  String pubsubBroker
           
 
Constructor Summary
protected TwisterConfigurations(String propertiesFile)
           
 
Method Summary
 int getDaemonPortBase()
           
static TwisterConfigurations getInstance()
           
 String getLocalAppJarDir()
           
 String getLocalDataDir()
           
 String getNodeFile()
           
 String getPubsubBroker()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

daemonPortBase

protected int daemonPortBase

localAppJarDir

protected String localAppJarDir

localDataDir

protected String localDataDir

nodeFile

protected String nodeFile

pubsubBroker

protected String pubsubBroker
Constructor Detail

TwisterConfigurations

protected TwisterConfigurations(String propertiesFile)
                         throws ConfigurationException
Throws:
ConfigurationException
Method Detail

getInstance

public static TwisterConfigurations getInstance()
                                         throws ConfigurationException
Throws:
ConfigurationException

getDaemonPortBase

public int getDaemonPortBase()

getLocalAppJarDir

public String getLocalAppJarDir()

getLocalDataDir

public String getLocalDataDir()

getNodeFile

public String getNodeFile()

getPubsubBroker

public String getPubsubBroker()


For comments and suggestions please send e-mail to