Public Member Functions | |
void | addVirtualDatabases (String xml) throws ControllerException |
ArrayList | getVirtualDatabaseNames () |
Package Functions | |
boolean | hasVirtualDatabase (String name) |
String | removeVirtualDatabase (String virtualname) throws Exception |
void | addDriver (byte[] bytes) throws Exception |
String | generateLogReport () throws Exception |
String | generateReport () throws Exception |
String | loadXml (String filename) throws Exception |
String | saveConfiguration () throws Exception |
void | shutdown (int level) throws ControllerException |
int | getBacklogSize () |
String | getControllerName () |
String | getJmxName () |
int | getPortNumber () |
String | getVersionNumber () throws RemoteException |
String | getXml () |
boolean | isShuttingDown () |
void | setBacklogSize (int size) |
void | refreshLogConfiguration () throws ControllerException |
void | updateLogConfigurationFile (String newConfiguration) throws IOException, ControllerException |
String | viewLogConfigurationFile () throws IOException |
Definition at line 40 of file ControllerMBean.java.
|
Adds a driver jar file sent in its binary form in the drivers directory of the controller.
|
|
Registers one or several virtual databases in the controller. The description of each Virtual Database must contain the definition of the backends and components (cache, scheduler, load balancer) to use.
This function expects the content of an XML file conforming to the C-JDBC DTD to be given as a single
Referenced by org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionExecuteControllerDrop(). |
|
Generate a log report on the controller now
Referenced by org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionRefreshLogs(). |
|
Generate a report on the controller now
Referenced by org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionControllerReport(). |
|
Get the controller socket backlog size.
|
|
Gets the controller name.
|
|
Gets the JMX name of the controller.
|
|
Return this controller port number
|
|
Gets the controller version.
|
|
Returns the names of currently available virtual databases.
Referenced by org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionShutdownController(). |
|
Return the xml version of the controller.xml file without doc type declaration, just data. The content is formatted using the controller xsl stylesheet.
Referenced by org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionGetControllerInfo(), and org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionLoadXmlController(). |
|
Tests if a
Referenced by org.objectweb.cjdbc.console.text.module.VirtualDatabaseAdmin.login(). |
|
Is the controller shutting down ?
|
|
Reads a XML configuration file.
|
|
Refreshs the logging system configuration by re-reading the
|
|
Prevent the controller from accessing a virtual database thereafter
|
|
Save current configuration of the controller to a default file location.
|
|
Set the controller socket backlog size.
|
|
Turns the controller down by using default shutdown level
Referenced by org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionShutdownController(). |
|
Update the log4j configuration file with the given content Also call
Referenced by org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionUpdateControllerLogConfiguration(). |
|
Retrieve the content of the log4j configuration file
Referenced by org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionControllerLogConfiguration(). |