org.ops4j.pax.url.dir.internal
Class Activator
java.lang.Object
org.ops4j.pax.url.commons.handler.HandlerActivator<Configuration>
org.ops4j.pax.url.dir.internal.Activator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class Activator
- extends HandlerActivator<Configuration>
- Since:
- Dec 10, 2008
- Author:
- Toni Menzel (tonit)
Method Summary |
void |
start(org.osgi.framework.BundleContext bundleContext)
Registers Handler as a wrap: protocol stream handler service and as a configuration managed service if
possible. |
void |
stop(org.osgi.framework.BundleContext bundleContext)
Performs cleanup:
* Unregister handler;
* Unregister managed service;
* Release bundle context. |
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(org.osgi.framework.BundleContext bundleContext)
- Description copied from class:
HandlerActivator
- Registers Handler as a wrap: protocol stream handler service and as a configuration managed service if
possible.
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Overrides:
start
in class HandlerActivator<Configuration>
- Parameters:
bundleContext
- the bundle context.- See Also:
BundleActivator.start(org.osgi.framework.BundleContext)
stop
public void stop(org.osgi.framework.BundleContext bundleContext)
- Description copied from class:
HandlerActivator
- Performs cleanup:
* Unregister handler;
* Unregister managed service;
* Release bundle context.
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Overrides:
stop
in class HandlerActivator<Configuration>
- See Also:
BundleActivator.stop(org.osgi.framework.BundleContext)
Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.