org.apache.aries.jmx
Class Activator

java.lang.Object
  extended by org.apache.aries.jmx.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends Object
implements org.osgi.framework.BundleActivator

Activator for JMX OSGi bundle.

Version:
$Rev: 896239 $ $Date: 2010-01-05 22:02:23 +0000 (Tue, 05 Jan 2010) $

Constructor Summary
Activator()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
Method Detail

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception

Called when JMX OSGi bundle starts. This method creates and starts JMX agent.

Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
Exception
See Also:
BundleActivator.start(BundleContext)

stop

public void stop(org.osgi.framework.BundleContext bc)
          throws Exception

Called when JMX OSGi bundle stops. This method stops agent and logger @see Logger.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception
See Also:
BundleActivator.stop(BundleContext)


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.