Method Summary |
|
public void | addDriver(byte[] bytes) |
public void | addVirtualDatabase(VirtualDatabase vdb) Registers a new VirtualDatabase in this controller. |
public synchronized void | addVirtualDatabase(VirtualDatabase vdb, int autoLoad, String checkPoint) |
public void | addVirtualDatabases(String xml, String vdbName, int autoEnable, String checkpoint) Adds virtual databases contained in the XML document given as a String. |
public void | addVirtualDatabases(String xml) |
public void | endOfController(Exception fatal) |
public void | generateReport() |
public int | getBacklogSize() |
public Hashtable | getConfiguration() |
public ControllerServerThread | getConnectionThread() Access the connection thread. |
public String | getControllerName() Returns the controller name. |
public String | getIPAddress() |
public boolean | getJmxEnable() |
public String | getJmxName() |
public int | getPortNumber() |
public ReportManager | getReport() Returns the report value. |
public ControllerSecurityManager | getSecurity() |
public static String | getVersion() |
public String | getVersionNumber() |
public VirtualDatabase | getVirtualDatabase(String virtualDatabaseName) Gets the VirtualDatabase object corresponding to a virtual
database name. |
public ArrayList | getVirtualDatabaseNames() |
public ArrayList | getVirtualDatabases() Returns information about the available virtual databases. |
public String | getXml() |
public String | getXmlController() Return the xml version of the controller.xml file without doc type
declaration, just data. |
public String | getXmlVirtualDatabases() Same as above but for the virtual databases. |
public boolean | hasVirtualDatabase(String name) Tests if a VirtualDatabase of a given name exists in this
controller. |
public boolean | isSecurityEnabled() |
public boolean | isShuttingDown() |
public void | launch() Actively launch the controller . |
public String | loadXmlConfiguration(String filename, String virtualName, int autoLoad, String checkPoint) Read a XML configuration file and load only the
VirtualDatabase specified in the arguments list
Parameters: filename - XML configuration file name to take info onVirtualDatabase Parameters: virtualName - the only database to load, null if should load all Parameters: autoLoad - specifies if the backends should be enabled automaticallyafter loading Parameters: checkPoint - checkPoint to recover from when enabling backends. |
public static void | main(String[] args) Launches the Sequoia controller. |
public void | refreshLogConfiguration() |
public String | removeVirtualDatabase(String virtualname) |
public String | saveConfiguration() |
protected void | sendJmxNotification(String type, String message) |
public void | setBacklogSize(int size) |
public void | setConfiguration(Hashtable configuration) Sets the configuration value. |
public void | setIPAddress(String ipAddress) |
public void | setJmxEnable(boolean enable) |
public void | setNotificationBroadcasterSupport(NotificationBroadcasterSupport notificationBroadcasterSupport) Sets the NotificationBroadcasterSupport associated with the MBean managing
this controller. |
public void | setPortNumber(int port) Set the controller backlog size. |
public void | setReport(ReportManager report) Sets the report value. |
public void | setSecurity(ControllerSecurityManager security) |
public void | shutdown() |
public void | updateLogConfigurationFile(String newConfiguration) |
public String | viewLogConfigurationFile() |