|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.cjdbc.scenario.tools.components.controller.ControllerProcess
This class defines a ControllerProcess
| Field Summary | |
(package private) Controller |
controller
|
(package private) java.lang.String |
database
|
(package private) java.lang.String |
port
|
| Constructor Summary | |
ControllerProcess(java.lang.String port,
java.lang.String database)
Creates a new ControllerProcess object |
|
| Method Summary | |
java.lang.String |
getDatabase()
Returns the database value. |
java.lang.String |
getPort()
Returns the port value. |
java.lang.Object |
getProcess()
Returns the process value. |
void |
loadDatabase()
Loads a default file in the database |
void |
loadDatabase(java.lang.String xml)
Loads the data of the given file in the database |
void |
loadDatabase(java.lang.String xml,
java.lang.String targetDB)
Loads the xml file with the given target database |
void |
release()
Remove files generated by this process |
void |
start()
Start this component |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
java.lang.String port
java.lang.String database
Controller controller
| Constructor Detail |
public ControllerProcess(java.lang.String port,
java.lang.String database)
throws java.lang.Exception
ControllerProcess object
port - port use by the controllerdatabase - database to load with this controller
java.lang.Exception - if fails| Method Detail |
public void start()
throws java.lang.Exception
ComponentInterface
start in interface ComponentInterfacejava.lang.Exception - if could not startComponentInterface.start()public java.lang.String getDatabase()
ComponentInterface
getDatabase in interface ComponentInterfaceComponentInterface.getDatabase()
public void loadDatabase(java.lang.String xml)
throws java.lang.Exception
ComponentInterface
loadDatabase in interface ComponentInterfacexml - to load
java.lang.Exception - if failsComponentInterface.loadDatabase(java.lang.String)
public void loadDatabase(java.lang.String xml,
java.lang.String targetDB)
throws java.lang.Exception
ComponentInterface
loadDatabase in interface ComponentInterfacexml - filetargetDB - target database
java.lang.Exception - if failsComponentInterface.loadDatabase(java.lang.String, java.lang.String)
public void loadDatabase()
throws java.lang.Exception
ComponentInterface
loadDatabase in interface ComponentInterfacejava.lang.Exception - if failsComponentInterface.loadDatabase()public java.lang.String getPort()
ComponentInterface
getPort in interface ComponentInterfaceComponentInterface.getPort()public java.lang.Object getProcess()
ComponentInterface
getProcess in interface ComponentInterfaceComponentInterface.getProcess()public void release()
ComponentInterface
release in interface ComponentInterfaceComponentInterface.release()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||