org.objectweb.carol.util.configuration
Class ServerConfiguration
java.lang.Object
org.objectweb.carol.util.configuration.ServerConfiguration
- public class ServerConfiguration
- extends java.lang.Object
This class handle the configuration of carol (independent of protocols
configuration) It doesn't implement ProtocolConfiguration interface which is
dedicated to protocols configuration
- Author:
- Florent Benoit
Constructor Summary |
protected |
ServerConfiguration(java.util.Properties properties)
Build a server configuration object with the given properties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerConfiguration
protected ServerConfiguration(java.util.Properties properties)
throws ConfigurationException
- Build a server configuration object with the given properties
- Parameters:
properties
- the properties need to construct the configuration
- Throws:
ConfigurationException
- if properties are missing
getBooleanValue
protected boolean getBooleanValue(java.lang.String key)
throws ConfigurationException
- Gets value of properties object
- Parameters:
key
- the key of the properties
- Returns:
- value stored in a property object
- Throws:
ConfigurationException
- if properties are missing
isStartingJNDI
public boolean isStartingJNDI()
- Returns:
- true if JNDI has to be started (set of MultiORB ICTX factory)
isStartingNS
public boolean isStartingNS()
- Returns:
- true if name services have to be launched)
isStartingRMI
public boolean isStartingRMI()
- Returns:
- true if ProdelegateClass has to be set to MultiProDelegate