org.apache.felix.eventadmin.bridge.configuration
Class Activator
java.lang.Object
org.apache.felix.eventadmin.bridge.configuration.Activator
- All Implemented Interfaces:
- BundleActivator
public class Activator
- extends Object
- implements BundleActivator
The BundleActivator that will register an ConfigurationEventListener service
with the framework on start. Subsequently, ConfigurationEvents will be
bridged to available EventAdmin services (as per spec).
- Author:
- Felix Project Team
Method Summary |
void |
start(BundleContext context)
This registers an ConfigurationEventListener service with the framework
that bridges ConfigurationEvents to the EventAdmin. |
void |
stop(BundleContext context)
Stop the bridging of ConfigurationEvents 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 ConfigurationEventListener service with the framework
that bridges ConfigurationEvents 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 ConfigurationEvents 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.