|
TPTP 4.0.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.Adapter
Adapter is a simple main entry point to run an adapter controller.
| Constructor Summary | |
|---|---|
Adapter()
|
|
| Method Summary | |
|---|---|
IStatus |
getStatus()
Gets the status of the adapter instance. |
void |
hardStop()
Stops all of the adapter contexts. |
static void |
main(java.lang.String[] args)
Adapter main method to run the adapter as a standalone program. |
void |
setComponentConfigPath(java.lang.String configFilePath)
Sets the file path of the component configuration portion of the adapter configuration. |
void |
setContextConfigPath(java.lang.String configFilePath)
Sets the file path of the context configuration portion of the adapter configuration. |
void |
setLogOutputter(IOutputter outputter)
Set the Adapter log outputter for GLA messages |
void |
start(boolean separateThread,
boolean daemon)
Starts the generic log adapter with the default configuration file SimpleComponentConfigurations.xml unless the configuration files were specified with setContextConfigPath and setComponentConfigPath methods. |
void |
stop()
Stops all of the adapter contexts. |
void |
validate()
Setup the adapter and validate the configuration file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Adapter()
| Method Detail |
public void setContextConfigPath(java.lang.String configFilePath)
configFilePath - The file path of the context configurationpublic void setComponentConfigPath(java.lang.String configFilePath)
configFilePath - The file path of the component configuration
public void validate()
throws AdapterException
AdapterException - if the configuration is invalid
public void start(boolean separateThread,
boolean daemon)
throws AdapterException
separateThread - Run the adapter in a separate threaddaemon - Run the adapter as a daemon thread.
AdapterException - If an error occurs during execution.public void stop()
public void hardStop()
public static void main(java.lang.String[] args)
args - -cc contextConfigurationPath -ac componentConfigurationPathpublic IStatus getStatus()
public void setLogOutputter(IOutputter outputter)
outputter - component
|
TPTP 4.0.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||