All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----examples.mo.Mlet.Client
Client implements a simple management application.
<MLET
CODE = examples.mo.Mlet.Name.class
ARCHIVE = Container.jar
NAME = defaultDomain:examples.mo.Mlet.Name.id=NAME
VERSION = 1.0
>
</MLET>
<MLET
CODE = examples.mo.Mlet.Name.class
ARCHIVE = Container.jar
VERSION = 1.0
>
</MLET>
Note that the second MLET tag does not specify the m-bean object name.
In this case the m-bean can either implement the initCmf method
and provide an object name or do nothing and let the client register it with
the framework. For this example the m-bean implemented the initCmf method.
Prior to starting the client application, make sure an agent is running. 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