ControllerFactory
class prepares a Controller
object by configurating ports, security, loaded databases.
ControllerFactory.java の 65 行で定義されています。
Public メソッド | |
ControllerFactory (String args[]) | |
void | setUpByXml (String filename) throws Exception |
Controller | getController () throws Exception |
void | setUpJmx () throws JmxException |
void | setUpSecurity (ControllerSecurityManager security) |
void | setUpVirtualDatabase (String filePath, String virtualName, int autoLoad, String checkPoint) |
Static Public 変数 | |
final String | RMI_PORT = "rmiPort" |
final String | JMX_PORT = "jmxPort" |
final String | JMX_ENABLE = "jmxEnable" |
final String | XML_FILE = "xmlFile" |
final String | CONTROLLER_IP = "controllerIP" |
final String | CONTROLLER_PORT = "controllerPort" |
final String | CONTROLLER_BACKLOG = "controllerBackLogSize" |
final String | ADD_DRIVER_ENABLE = "addDriverEnable" |
スタティック変数 | |
Trace | logger = Trace.getLogger(Controller.class.getName()) |
Private メソッド | |
Controller | setup () throws Exception |
Static Private メソッド | |
void | printUsage (Options options) |
Options | createOptions () |
Private 変数 | |
Controller | controller = null |
|
Configure the controller with parameters
参照先 org.objectweb.cjdbc.controller.core.ControllerFactory.CONTROLLER_BACKLOG, org.objectweb.cjdbc.controller.core.ControllerFactory.CONTROLLER_IP, org.objectweb.cjdbc.controller.core.ControllerFactory.CONTROLLER_PORT, org.objectweb.cjdbc.controller.core.ControllerFactory.createOptions(), org.objectweb.cjdbc.controller.core.ControllerFactory.JMX_ENABLE, org.objectweb.cjdbc.controller.core.ControllerFactory.JMX_PORT, org.objectweb.cjdbc.controller.core.ControllerFactory.logger, org.objectweb.cjdbc.controller.core.ControllerFactory.printUsage(), org.objectweb.cjdbc.controller.core.ControllerFactory.RMI_PORT, と org.objectweb.cjdbc.controller.core.ControllerFactory.XML_FILE.
|
|
Creates
参照元 org.objectweb.cjdbc.controller.core.ControllerFactory.ControllerFactory().
|
|
Retrieve the controller associated with this
参照元 org.objectweb.cjdbc.controller.core.Controller.main().
|
|
Displays usage message.
参照元 org.objectweb.cjdbc.controller.core.ControllerFactory.ControllerFactory().
|
|
Test if there is a file to take configuration from, if so call <method> setUpByXml() </method>
参照先 org.objectweb.cjdbc.controller.core.ControllerFactory.controller, org.objectweb.cjdbc.controller.core.ControllerFactory.CONTROLLER_BACKLOG, org.objectweb.cjdbc.controller.core.ControllerFactory.CONTROLLER_IP, org.objectweb.cjdbc.controller.core.ControllerFactory.CONTROLLER_PORT, org.objectweb.cjdbc.controller.core.ControllerFactory.logger, org.objectweb.cjdbc.controller.core.Controller.setConfiguration(), org.objectweb.cjdbc.controller.core.ControllerFactory.setUpByXml(), と org.objectweb.cjdbc.controller.core.ControllerFactory.XML_FILE.
|
|
This method is going to call a
参照先 org.objectweb.cjdbc.controller.core.ControllerFactory.logger, と org.objectweb.cjdbc.controller.xml.ControllerParser.readXML(). 参照元 org.objectweb.cjdbc.controller.core.ControllerFactory.setup().
|
|
Start up the jmx services if enabled.
参照先 org.objectweb.cjdbc.controller.jmx.RmiConnector.start(), と org.objectweb.cjdbc.controller.jmx.HttpAdaptor.start().
|
|
Set up security settings if needed here.
|
|
Will load the
|
|
Add driver enable ControllerFactory.java の 91 行で定義されています。 |
|
ControllerFactory.java の 96 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.ControllerFactory.setup(). |
|
The controller backlog size ControllerFactory.java の 88 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.ControllerFactory.ControllerFactory(), と org.objectweb.cjdbc.controller.core.ControllerFactory.setup(). |
|
The NIC IP address to bind the controller to ControllerFactory.java の 82 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.ControllerFactory.ControllerFactory(), と org.objectweb.cjdbc.controller.core.ControllerFactory.setup(). |
|
The controller port number ControllerFactory.java の 85 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.ControllerFactory.ControllerFactory(), と org.objectweb.cjdbc.controller.core.ControllerFactory.setup(). |
|
The jmx enable value ControllerFactory.java の 76 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.ControllerFactory.ControllerFactory(). |
|
The jmx port value ControllerFactory.java の 73 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.ControllerFactory.ControllerFactory(). |
|
|
The Rmi port value ControllerFactory.java の 70 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.ControllerFactory.ControllerFactory(). |
|
The xml file possibly used to configure controller ControllerFactory.java の 79 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.ControllerFactory.ControllerFactory(), と org.objectweb.cjdbc.controller.core.ControllerFactory.setup(). |