Class WarUrlActivator
- java.lang.Object
-
- org.eclipse.jetty.osgi.boot.warurl.WarUrlActivator
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class WarUrlActivator extends java.lang.Object implements org.osgi.framework.BundleActivator
Register the factory to handle the war scheme specified by rfc66 when the bundle is activated.
-
-
Constructor Summary
Constructors Constructor Description WarUrlActivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start(org.osgi.framework.BundleContext context)
Register the url stream handler factory.void
stop(org.osgi.framework.BundleContext context)
Remove the url stream handler.
-
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
Register the url stream handler factory.- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Parameters:
context
- theBundleContext
to use- Throws:
java.lang.Exception
-
stop
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
Remove the url stream handler. (probably not required, as osgi might shutdown every registered service by default: need test)- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Throws:
java.lang.Exception
-
-