public class Activator
extends java.lang.Object
implements org.osgi.framework.BundleActivator
Activator for JMX OSGi bundle.
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
void |
start(org.osgi.framework.BundleContext context)
Called when JMX OSGi bundle starts.
|
void |
stop(org.osgi.framework.BundleContext bc)
Called when JMX OSGi bundle stops.
|
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
Called when JMX OSGi bundle starts. This method creates and starts JMX agent.
start in interface org.osgi.framework.BundleActivatorjava.lang.ExceptionBundleActivator.start(BundleContext)public void stop(org.osgi.framework.BundleContext bc)
throws java.lang.Exception
Called when JMX OSGi bundle stops.
This method stops agent and logger @see Logger.
stop in interface org.osgi.framework.BundleActivatorjava.lang.ExceptionBundleActivator.stop(BundleContext)Copyright © 2009-2019 The Apache Software Foundation. All Rights Reserved.