|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.agent.AgentStartupCallback
public class AgentStartupCallback
A callback class that notifies the starting entity (most likely the agent client) as to the startup status of the agent (success/failure).
Constructor Summary | |
---|---|
AgentStartupCallback(AgentConfig config)
Creates an instance. |
Method Summary | |
---|---|
protected void |
finalize()
Clean up resources just in case! |
void |
onAgentStartup(boolean succeeded)
Notify the starting entity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentStartupCallback(AgentConfig config) throws AgentConfigException, java.io.IOException
config
- The agent configuration.
java.io.IOException
- if the callback fails to establish a connection
to the starting entity.
AgentConfigException
Method Detail |
---|
public void onAgentStartup(boolean succeeded)
succeeded
- true
if the agent startup succeeded;
false
if the agent startup failed.protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |