org.jboss.aerogear.io.netty.handler.codec.sockjs
Class AbstractSockJsServiceFactory
java.lang.Object
org.jboss.aerogear.io.netty.handler.codec.sockjs.AbstractSockJsServiceFactory
- All Implemented Interfaces:
- SockJsServiceFactory
public abstract class AbstractSockJsServiceFactory
- extends Object
- implements SockJsServiceFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSockJsServiceFactory
protected AbstractSockJsServiceFactory(SockJsConfig config)
create
public abstract SockJsService create()
- Description copied from interface:
SockJsServiceFactory
- Creates a new instance, or reuse and existing instance, of the service.
Allows for either creating new instances for every session of to use
a single instance, whatever is appropriate for the use case.
- Specified by:
create in interface SockJsServiceFactory
- Returns:
SockJsService the service instance.
config
public SockJsConfig config()
- Description copied from interface:
SockJsServiceFactory
- The
SockJsConfig for the session itself.
- Specified by:
config in interface SockJsServiceFactory
- Returns:
- Config the configuration for the session.
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.