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.BundleActivatorRegister 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 voidstart(org.osgi.framework.BundleContext context)Register the url stream handler factory.voidstop(org.osgi.framework.BundleContext context)Remove the url stream handler.
-
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext context) throws java.lang.ExceptionRegister the url stream handler factory.- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Parameters:
context- theBundleContextto use- Throws:
java.lang.Exception
-
stop
public void stop(org.osgi.framework.BundleContext context) throws java.lang.ExceptionRemove the url stream handler. (probably not required, as osgi might shutdown every registered service by default: need test)- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Throws:
java.lang.Exception
-
-