org.ow2.jasmine.monitoring.mbeancmd.osgi
Class Activator

java.lang.Object
  extended by org.ow2.jasmine.monitoring.mbeancmd.osgi.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

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

Activator providing a bundle context to the CommandDispatcher.

Author:
Loris Bouzonnet

Constructor Summary
Activator()
           
 
Method Summary
 void start(org.osgi.framework.BundleContext context)
          Give a bundle context to the CommandDispatcher.
 void stop(org.osgi.framework.BundleContext context)
          Remove reference on bundle context from the CommandDispatcher.
 
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 java.lang.Exception
Give a bundle context to the CommandDispatcher.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
context - bundle context
Throws:
java.lang.Exception

stop

public void stop(org.osgi.framework.BundleContext context)
          throws java.lang.Exception
Remove reference on bundle context from the CommandDispatcher.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
context - bundle context
Throws:
java.lang.Exception


Copyright © 2010 OW2 Consortium. All Rights Reserved.