org.eclipse.jetty.osgi.boot.warurl
Class WarUrlActivator
java.lang.Object
org.eclipse.jetty.osgi.boot.warurl.WarUrlActivator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class WarUrlActivator
- extends Object
- implements org.osgi.framework.BundleActivator
Register the factory to handle the war scheme specified by rfc66
when the bundle is activated.
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WarUrlActivator
public WarUrlActivator()
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- Register the url stream handler factory.
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Parameters:
context
-
- Throws:
Exception
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- Remove the url stream handler. (probably not required,
as osgi might shutdown every registered service
by default: need test)
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.