- java.lang.Object
-
- org.glassfish.jersey.examples.osgi.helloworld.WebAppContextListener
-
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener, org.osgi.framework.BundleActivator
public class WebAppContextListener
extends Object
implements org.osgi.framework.BundleActivator, javax.servlet.ServletContextListener
This is to make sure we signal the application has been deployed/un-deployed
via the OSGi EventAdmin service.
- Author:
- Jakub Podlesak (jakub.podlesak at oracle.com)
-
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.