|
TPTP 4.4.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.logging.adapter.impl.Controller
Controller manages a set of Context objects by setting the configurations and then starting each context.
| Constructor Summary | |
|---|---|
Controller()
Deprecated. Constructor for Controller. |
|
| Method Summary | |
|---|---|
IContext[] |
getContexts()
Deprecated. Get the set of Context objects |
IOutputter |
getLogOutputter()
Deprecated. Get the custom Outputter that the internal logging context is using. |
Status[] |
getStatus()
Deprecated. Get the status of the contexts |
void |
hardStop()
Deprecated. This stop method will still cause the contexts to be stopped but will not call the context listener methods when flushing the components. |
boolean |
isRunning()
Deprecated. Returns whether the Controller is running. |
void |
log(java.lang.String logRecord)
Deprecated. Log the string message to standard error since the logging outputter(s) associated with the AdapterSensor logger will never be
started. |
void |
prepareAdapter()
Deprecated. Prepare the adapter for execution. |
void |
run()
Deprecated. run provides the basic loop for a Controller thread. |
void |
setComponentConfigPath(java.lang.String config)
Deprecated. Set the name of the file containing the configurations for the components of the contexts. |
void |
setContextConfigPath(java.lang.String config)
Deprecated. Set the name of the file containing the configurations for the contexts. |
void |
setLogOutputter(IOutputter logOutputter)
Deprecated. Sets the custom Outputter for the internal logging context to use. |
void |
start()
Deprecated. Start running the controller which means starting up each of the contexts. |
void |
stop()
Deprecated. Stop the controller which means stopping all of the contexts if they are still running. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Controller()
| Method Detail |
public boolean isRunning()
public void start()
public void stop()
public void hardStop()
public IContext[] getContexts()
public void setContextConfigPath(java.lang.String config)
config - - name of the context configuation filepublic void setComponentConfigPath(java.lang.String config)
config - - name of the component configuation file
public void prepareAdapter()
throws AdapterException
AdapterExceptionpublic void run()
run in interface java.lang.Runnablepublic void log(java.lang.String logRecord)
AdapterSensor logger will never be
started.
logRecord - The string message to be logged to standard error.public Status[] getStatus()
public IOutputter getLogOutputter()
public void setLogOutputter(IOutputter logOutputter)
logOutputter - The custom Outputter for the internal logging context.
|
TPTP 4.4.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||