org.apache.felix.eventadmin.bridge.wireadmin
Class Activator
java.lang.Object
org.apache.felix.eventadmin.bridge.wireadmin.Activator
- All Implemented Interfaces:
- BundleActivator
public class Activator
- extends Object
- implements BundleActivator
The BundleActivator that will register an WireAdminEventListener service with the
framework on start. Subsequently, WireAdminEvents will be bridged to available
EventAdmin services (as per spec).
- Author:
- Felix Project Team
Method Summary |
void |
start(BundleContext context)
This registers an WireAdminEventListener service with the framework that bridges
WireAdminEvents to the EventAdmin. |
void |
stop(BundleContext context)
Stop the bridging of WireAdminEvents to the EventAdmin. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Activator
public Activator()
start
public void start(BundleContext context)
throws Exception
- This registers an WireAdminEventListener service with the framework that bridges
WireAdminEvents to the EventAdmin.
- Specified by:
start
in interface BundleActivator
- Parameters:
context
- The context to use
- Throws:
Exception
- See Also:
BundleActivator.start(org.osgi.framework.BundleContext)
stop
public void stop(BundleContext context)
throws Exception
- Stop the bridging of WireAdminEvents to the EventAdmin.
- Specified by:
stop
in interface BundleActivator
- Throws:
Exception
- See Also:
BundleActivator.stop(org.osgi.framework.BundleContext)
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.