org.atmosphere.cpr
Class AtmosphereInitializer
java.lang.Object
org.atmosphere.cpr.AtmosphereInitializer
- All Implemented Interfaces:
- javax.servlet.ServletContainerInitializer
public class AtmosphereInitializer
- 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 add the following configuration to your web.xml.
e.g.
<init-param>
<param-name>org.atmosphere.cpr.AtmosphereInitializer.disabled</param-name>
<param-value>true</param-value>
</init-param>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtmosphereInitializer
public AtmosphereInitializer()
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 © 2014. All Rights Reserved.