|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.web.extender.war.internal.Activator
public class Activator
WAR Extender activator.
Starts an web.xml watcher on installed bundles. When a bundle containing "WEB-INF/web.xml" is started the web.xml
will get parsed and an web app will be created. On stop of bundle containing web.xml or stop of this bundle , the
created web app will be unregistered.
Constructor Summary | |
---|---|
Activator()
|
Method Summary | |
---|---|
void |
start(org.osgi.framework.BundleContext bundleContext)
Starts an web.xml watcher on installed bundles. |
void |
stop(org.osgi.framework.BundleContext bundleContext)
Stops the watcher, fact that will trigger that all registered web appas to be unregistered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Activator()
Method Detail |
---|
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
java.lang.Exception
BundleActivator.start(BundleContext)
public void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
java.lang.Exception
BundleActivator.stop(BundleContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |