public class Activator extends Object implements BundleActivator
Activator for JMX OSGi bundle.
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
void |
start(BundleContext context)
Called when JMX OSGi bundle starts.
|
void |
stop(BundleContext bc)
Called when JMX OSGi bundle stops.
|
public void start(BundleContext context) throws Exception
Called when JMX OSGi bundle starts. This method creates and starts JMX agent.
start in interface BundleActivatorExceptionBundleActivator.start(BundleContext)public void stop(BundleContext bc) throws Exception
Called when JMX OSGi bundle stops.
This method stops agent and logger @see Logger.
stop in interface BundleActivatorExceptionBundleActivator.stop(BundleContext)Copyright © 2015 JBoss by Red Hat. All rights reserved.