|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.clex.process.controller.ConsoleController
Responsible for starting a Service from a Command Line Interface.
Currently, this controller does not support console i/o. It will
eventually, though. Right now, it merely starts a Service and that's it.
To run, you must call the start() method from a main thusly:
XXXController controller = new XXXController();
controller.start();
Field Summary | |
protected boolean |
DEBUG
|
protected java.lang.Object |
sessionId
|
Constructor Summary | |
ConsoleController()
|
Method Summary | |
void |
buildTransitionTable(TransitionTable aTable)
Does nothing |
java.util.Vector |
getChildren()
TO BE IMPLEMENTED. |
abstract Service |
getConcreteService()
Returns an instance of the Service which is supported by the implementing Controller subclass. |
java.lang.Object |
getInfo(java.lang.String key)
Does nothing, returns null; |
java.lang.Object |
getInfo(java.lang.String key,
Service aService)
Does nothing returns null |
java.lang.String |
getName()
Does nothing returns an empty string. |
Parent |
getParent()
Does nothing returns null |
java.util.Vector |
getParents()
Does nothing returns null |
java.lang.Object |
getSessionId(Service aService)
Returns a unique sessionId for the session under which the specified Service is running. |
void |
processParameters(Child aChildProcess)
Does nothing |
void |
processResults(Child aChildProcess)
Does nothing |
void |
start()
|
void |
terminate()
Does nothing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.cle.process.ServiceController |
getDefaultControllerResultType |
Field Detail |
protected boolean DEBUG
protected java.lang.Object sessionId
Constructor Detail |
public ConsoleController()
Method Detail |
public abstract Service getConcreteService()
ServiceController
getConcreteService
in interface ServiceController
oracle.cle.process.ServiceController
public void start() throws CLEException
public java.lang.Object getSessionId(Service aService)
getSessionId
in interface ServiceController
public java.lang.Object getInfo(java.lang.String key, Service aService)
getInfo
in interface ServiceController
public java.lang.Object getInfo(java.lang.String key)
getInfo
in interface Parent
oracle.cle.process.Parent
key
- the name of the valuepublic void buildTransitionTable(TransitionTable aTable)
buildTransitionTable
in interface Parent
public java.lang.String getName()
getName
in interface Parent
public Parent getParent()
public java.util.Vector getParents()
getParents
in interface Parent
public java.util.Vector getChildren()
Parent
as of 8/28/2000 (Luis Amat)getChildren
in interface Parent
public void processParameters(Child aChildProcess)
processParameters
in interface Parent
oracle.cle.process.Parent
Child
- child on which the processing is madepublic void processResults(Child aChildProcess)
processResults
in interface Parent
oracle.cle.process.Parent
Child
- child on which the processecing is madepublic void terminate()
terminate
in interface ServiceController
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |