org.kasource.web.websocket.spring
Class SpringWebSocketFactory
java.lang.Object
org.kasource.web.websocket.WebSocketFactoryImpl
org.kasource.web.websocket.spring.SpringWebSocketFactory
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextAttributeListener, WebSocketFactory, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.web.context.ServletContextAware
public class SpringWebSocketFactory
- extends WebSocketFactoryImpl
- implements org.springframework.web.context.ServletContextAware, org.springframework.beans.factory.InitializingBean
Method Summary |
void |
afterPropertiesSet()
On initialization, create all web sockets currently available in
the servlet context. |
void |
setServletContext(javax.servlet.ServletContext servletContext)
Set the servlet context to use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringWebSocketFactory
public SpringWebSocketFactory()
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Set the servlet context to use.
- Specified by:
setServletContext
in interface org.springframework.web.context.ServletContextAware
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- On initialization, create all web sockets currently available in
the servlet context.
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
Copyright © 2012. All Rights Reserved.