| |
|
| java.util.Hashtable org.continuent.sequoia.controller.core.ControllerConfiguration
ADD_DRIVER_ENABLE | final public static String ADD_DRIVER_ENABLE(Code) | | Add driver enable
|
CONTROLLER_BACKLOG | final public static String CONTROLLER_BACKLOG(Code) | | The controller backlog size
|
CONTROLLER_IP | final public static String CONTROLLER_IP(Code) | | The NIC IP address to bind the controller to
|
CONTROLLER_PORT | final public static String CONTROLLER_PORT(Code) | | The controller port number
|
JMX_ENABLE | final public static String JMX_ENABLE(Code) | | The jmx enable value
|
JMX_PORT | final public static String JMX_PORT(Code) | | The jmx port value
|
RMI_PORT | final public static String RMI_PORT(Code) | | The Rmi port value
|
XML_FILE | final public static String XML_FILE(Code) | | The xml file possibly used to configure controller
|
ControllerConfiguration | public ControllerConfiguration(String[] args)(Code) | | Configure the controller with parameters
Parameters: args - parameters from the command line |
getController | public Controller getController() throws Exception(Code) | | Retrieve the controller associated with this
ControllerConfiguration instance.
Controller object. Can be null if this method iscalled before setup throws: Exception - if an error occurs |
setUpByXml | public void setUpByXml(String filename) throws Exception(Code) | | This method is going to call a ControllerParser object to
configure controller while parsing file. This method will call
setUpRmi() and setUpJmx() as well as
setUpVirtualDatabases while parsing.
Parameters: filename - path to the xml file to parse from throws: Exception - if configuration fails |
setUpSecurity | public void setUpSecurity(ControllerSecurityManager security)(Code) | | Set up security settings if needed here.
Parameters: security - to enforce |
setUpVirtualDatabase | public void setUpVirtualDatabase(String filePath, String virtualName, int autoLoad, String checkPoint)(Code) | | Will load the VirtualDatabase configuration into the
controller.
Parameters: filePath - the path to xml definition of the virtual database Parameters: virtualName - the name of the virtualDatabase to load Parameters: autoLoad - specified if backend should be enabled. Parameters: checkPoint - the check point to load the database from. |
|
|
|