cgl.imr.pubsub.nb
Class NBConfigurations

java.lang.Object
  extended by cgl.imr.pubsub.nb.NBConfigurations

public class NBConfigurations
extends Object

Wrapper object for NaradaBrokering related properties. These properties are read from the file named properties_file = nb.properties that is available in the classpath.


Field Summary
protected  String brokerHost
           
protected  String brokerPort
           
protected  String commType
           
 
Constructor Summary
  NBConfigurations()
           
protected NBConfigurations(String propertiesFile)
           
 
Method Summary
 String getBrokerHost()
           
 String getBrokerPort()
           
 String getCommType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

brokerHost

protected String brokerHost

brokerPort

protected String brokerPort

commType

protected String commType
Constructor Detail

NBConfigurations

public NBConfigurations()
                 throws ConfigurationException
Throws:
ConfigurationException

NBConfigurations

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

getBrokerHost

public String getBrokerHost()

getBrokerPort

public String getBrokerPort()

getCommType

public String getCommType()


For comments and suggestions please send e-mail to