|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.cpr.AtmosphereConfig
public class AtmosphereConfig
This class contains information about the current state of the AtmosphereFramework. You can also
register AtmosphereConfig.ShutdownHook.
| Nested Class Summary | |
|---|---|
static interface |
AtmosphereConfig.ShutdownHook
A shutdown hook that will be called when the AtmosphereFramework.destroy() method gets invoked. |
| Field Summary | |
|---|---|
protected static org.slf4j.Logger |
logger
|
protected List<AtmosphereConfig.ShutdownHook> |
shutdownHooks
|
| Constructor Summary | |
|---|---|
AtmosphereConfig(AtmosphereFramework framework)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.slf4j.Logger logger
protected final List<AtmosphereConfig.ShutdownHook> shutdownHooks
| Constructor Detail |
|---|
public AtmosphereConfig(AtmosphereFramework framework)
| Method Detail |
|---|
public List<AtmosphereHandlerConfig> getAtmosphereHandlerConfig()
public AtmosphereFramework framework()
AtmosphereFramework
AtmosphereFrameworkpublic javax.servlet.ServletConfig getServletConfig()
ServletConfig
ServletConfigpublic javax.servlet.ServletContext getServletContext()
ServletContext
ServletContextpublic String getWebServerName()
public Map<String,AtmosphereFramework.AtmosphereHandlerWrapper> handlers()
AtmosphereFramework.AtmosphereHandlerWrapper
AtmosphereFramework.AtmosphereHandlerWrapperpublic String getInitParameter(String name)
name - the name
public Enumeration<String> getInitParameterNames()
public boolean isSupportSession()
HttpSession supported.
HttpSession supported.public void setSupportSession(boolean supportSession)
HttpSession
supportSession - public BroadcasterFactory getBroadcasterFactory()
DefaultBroadcasterFactory
DefaultBroadcasterFactorypublic Map<String,Object> properties()
Map of Applications's Properties.
Map of Applications's Properties.protected void destroy()
AtmosphereConfig.ShutdownHook
public AtmosphereConfig shutdownHook(AtmosphereConfig.ShutdownHook s)
AtmosphereConfig.ShutdownHook
s - a AtmosphereConfig.ShutdownHook
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||