|
Adobe LiveCycle Business Activity Monitoring ES API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
IAgent is implemented by a class that extracts data from
an arbitrary source and sends it to the Celequest server.
| Method Summary | |
void |
cleanup(Throwable t)
cleanup is called to allow the source to clean up
after the agent has transmitted the data to the server. |
void |
close()
close closes the source. |
void |
disable()
disable is called when a DISABLE request is received
from the Celequest server. |
void |
enable()
enable enables the source. |
String |
getDescription()
getDescription provides an arbitrary description of
the source. |
boolean |
isRecoverable()
isRecoverable states whether the agent is recoverable. |
void |
open(String agentName,
String agentConfigFile)
open is called by the Celequest agent to open the source. |
| Method Detail |
public void open(String agentName,
String agentConfigFile)
throws Exception
open is called by the Celequest agent to open the source.
agentName - a String value - the name of the
agent. This is a mandatory parameter.agentConfigFile - a String value - the agent
configuration file. This is an optional parameter; the contents
of the file are determined by the source.
Exception - if an error occurspublic void close()
close closes the source. The source will not be
reopened under any circumstances.
public void enable()
throws Exception
enable enables the source. The Celequest agent will
not attempt to request data from the source without calling this
method. The method is called when an ENABLE request is received
from the Celequest server.
Exception - if an error occurs
public void disable()
throws Exception
disable is called when a DISABLE request is received
from the Celequest server. The agent will call
enable before requesting data.
Exception - if an error occurspublic String getDescription()
getDescription provides an arbitrary description of
the source. This description might be published in the log files.
String valuepublic void cleanup(Throwable t)
cleanup is called to allow the source to clean up
after the agent has transmitted the data to the server.
t - a Throwable - the error received when
transmitting the data. A value of null implies that the data was
transmitted without any error. The source is free to ignore the
error code.public boolean isRecoverable()
isRecoverable states whether the agent is recoverable.
boolean value
|
Adobe LiveCycle Business Activity Monitoring ES API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||