org.atmosphere.cpr
Class ContainerInitializer
java.lang.Object
org.atmosphere.cpr.ContainerInitializer
- All Implemented Interfaces:
- javax.servlet.ServletContainerInitializer
public class ContainerInitializer
- extends Object
- implements javax.servlet.ServletContainerInitializer
Initializer for the AtmosphereFramework per servlet instance,
this initializer is called during web-application startup lifecycle (since Servlet 3.0).
If you need to disable automatic initialization take a look at the following switch:
ApplicationConfig.DISABLE_ATMOSPHERE_INITIALIZER}
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerInitializer
public ContainerInitializer()
onStartup
public void onStartup(Set<Class<?>> classes,
javax.servlet.ServletContext c)
throws javax.servlet.ServletException
- Specified by:
onStartup in interface javax.servlet.ServletContainerInitializer
- Throws:
javax.servlet.ServletException
Copyright © 2015. All Rights Reserved.