| java.lang.Object mx4j.examples.mbeans.legacy.LegacyExample
LegacyExample | public class LegacyExample (Code) | | This example aims to show how it is possible, with JMX, to write a non-invasive
wrapper for an existing legacy service in order to expose the functionality
of the legacy service with JMX.
version: $Revision: 1.1 $ |
Method Summary | |
public static void | main(String[] args) | public static void | oldMain(String[] args) This is the old main routine that started the service. |
oldMain | public static void oldMain(String[] args)(Code) | | This is the old main routine that started the service.
In this example we had the possibility to modify the starter of the service
by renaming the main method and by writing a new one that uses JMX.
However, it is also possible to write another starter leaving the legacy part
totally unchanged.
|
|
|