public class WampSessionScope extends Object implements org.springframework.beans.factory.config.Scope
Scope implementation exposing the attributes of a WAMP session (e.g.
WebSocket session).
Relies on a thread-bound WampSession instance
| Modifier and Type | Class and Description |
|---|---|
static class |
WampSessionScope.WampSessionObjectFactory |
static class |
WampSessionScope.WebSocketSessionObjectFactory |
| Constructor and Description |
|---|
WampSessionScope() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String name,
org.springframework.beans.factory.ObjectFactory<?> objectFactory) |
String |
getConversationId() |
void |
registerDestructionCallback(String name,
Runnable callback) |
Object |
remove(String name) |
Object |
resolveContextualObject(String key) |
public Object get(String name, org.springframework.beans.factory.ObjectFactory<?> objectFactory)
get in interface org.springframework.beans.factory.config.Scopepublic Object remove(String name)
remove in interface org.springframework.beans.factory.config.Scopepublic void registerDestructionCallback(String name, Runnable callback)
registerDestructionCallback in interface org.springframework.beans.factory.config.Scopepublic Object resolveContextualObject(String key)
resolveContextualObject in interface org.springframework.beans.factory.config.Scopepublic String getConversationId()
getConversationId in interface org.springframework.beans.factory.config.ScopeCopyright © 2014–2017. All rights reserved.