All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class examples.jdbc.Agent

java.lang.Object
   |
   +----examples.jdbc.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 persistence through the JDBC API. The agent registers some services and adaptors at startup time with the framework. If the agent is stopped and restarted the agent will recover these services and adaptors and activate them.

NOTE: By default the repository is configured to work with the Cloudscape JBMS release 1.2.1. JDBC driver. For futher information on the JBMS database go to the Cloudscape home page at: www.cloudscape.com

See Also:
JDBCRepositorySrv

Constructor Index

 o Agent()

Method Index

 o main(String[])
 o 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.

Constructors

 o Agent
 public Agent()

Methods

 o main
 public static void main(String argv[])
 o 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