All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----examples.mo.Mlet2.Client
Client implements a simple management application.
<MLET
CODE = examples.mo.Mlet2.Master.class
ARCHIVE = Master.jar
NAME = defaultDomain:examples.mo.Mlet2.Master.id=auto
VERSION = 1.0
>
</MLET>
Note that we only specify the Master m-bean in the MLET tag, although the
JAR file also contains the Sub m-bean. In this case only the Master m-bean
will be instanciated and registered with the framework through the M-Let service.
In the initCmf method of the Master m-bean we add 2 instances of the
Sub m-bean to the framework.
Prior to starting the client application, make sure an agent is running with the M-Let service. Also if you didn't follow the default installation set the URL to point to the direcory containing the file with the MLET tags and recompile the example.
public Client()
public static void main(String argv[])
public void run()
All Packages Class Hierarchy This Package Previous Next Index