| java.lang.Object mx4j.examples.mbeans.legacy.LegacyService
LegacyService | public class LegacyService (Code) | | This service wakes up every once in a while, and does an intensive job
spawning many threads to perform the given operation.
We would like to be informed of this activity, and would like to expose functionality of
this service via JMX. To achieve these goals, we wrap it by means of a DynamicMBean,
DynamicLegacyService .
version: $Revision: 1.1 $ |
Method Summary | |
public void | execute() This method is called 'execute', but we want to expose it in JMX with the name 'start'. |
execute | public void execute()(Code) | | This method is called 'execute', but we want to expose it in JMX with the name 'start'.
The magic is done in the DynamicMBean that wraps this service to expose it via JMX.
|
|
|