org.gcube.common.ghn.service
Class ServiceInitializer
java.lang.Object
org.gcube.common.ghn.service.ServiceInitializer
- All Implemented Interfaces:
- javax.servlet.ServletContainerInitializer
public class ServiceInitializer
- extends Object
- implements javax.servlet.ServletContainerInitializer
Adds a LifetimeListener to managed services.
It is automatically discovered from a app library or a shared library in servlet containers that comply with
version 3.0 or later of the Servlet specifications.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceInitializer
public ServiceInitializer()
onStartup
public void onStartup(Set<Class<?>> c,
javax.servlet.ServletContext ctx)
throws javax.servlet.ServletException
- Specified by:
onStartup in interface javax.servlet.ServletContainerInitializer
- Throws:
javax.servlet.ServletException
Copyright © 2013. All Rights Reserved.