All Packages Class Hierarchy This Package Previous Next Index
Class examples.recover.Agent
java.lang.Object
|
+----examples.recover.Agent
- public class Agent
- extends Object
- implements Runnable
This class provides an example of an agent that instanciates
a framework initialized with a repository offering recovery.
The agent registers some adaptors, services and a counter m-bean with a
restart service, provided and managed by the repository.
If the agent is stopped and restarted the adaptors, services and
counter m-bean will be recovered and reactivated.
- See Also:
- RecoveryRepSrv, CounterBean
-
Agent()
-
-
main(String[])
-
-
run()
- When an object implementing interface Runnable is used to create a thread,
starting the thread causes the object's run method to be called in that
separately executing thread.
Agent
public Agent()
main
public static void main(String argv[])
run
public void run()
- When an object implementing interface Runnable is used to create a thread,
starting the thread causes the object's run method to be called in that
separately executing thread.
All Packages Class Hierarchy This Package Previous Next Index