org.atmosphere.util
Class ServletContextFactory
java.lang.Object
org.atmosphere.util.ServletContextFactory
public class ServletContextFactory
- extends Object
A simple Factory to get access to the . This factory won't work if more than one Servlet is deployed inside the same war.
- Author:
- Jeanfrancois Arcand
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
init
public void init(javax.servlet.ServletContext servletContext)
- Set the ServletContext
- Parameters:
servletContext - ServletContext
getServletContext
public javax.servlet.ServletContext getServletContext()
getDefault
public static final ServletContextFactory getDefault()
Copyright © 2014. All Rights Reserved.