org.gcube.common.ghn.service
Class ApplicationInitializer
java.lang.Object
org.gcube.common.ghn.service.ApplicationInitializer
- All Implemented Interfaces:
- javax.servlet.ServletContainerInitializer
public class ApplicationInitializer
- extends Object
- implements javax.servlet.ServletContainerInitializer
Adds a ApplicationListener 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 |
ApplicationInitializer
public ApplicationInitializer()
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.