org.jboss.errai.bus.server.util
Class SessionContext
java.lang.Object
org.jboss.errai.bus.server.util.SessionContext
- All Implemented Interfaces:
- Context
public class SessionContext
- extends Object
- implements Context
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static SessionContext get(QueueSession session)
get
public static SessionContext get(Message message)
setAttribute
public void setAttribute(Enum<?> key,
Object value)
- Specified by:
setAttribute
in interface Context
getAttribute
public <T> T getAttribute(Class<T> type,
Enum<?> key)
- Specified by:
getAttribute
in interface Context
setAttribute
public void setAttribute(Class<?> typeIndexed,
Object value)
- Specified by:
setAttribute
in interface Context
getAttribute
public <T> T getAttribute(Class<T> type,
Class<?> typeIndexed)
- Specified by:
getAttribute
in interface Context
getAttribute
public <T> T getAttribute(Class<T> type)
- Specified by:
getAttribute
in interface Context
setAttribute
public void setAttribute(String param,
Object value)
- Specified by:
setAttribute
in interface Context
getAttribute
public <T> T getAttribute(Class<T> type,
String param)
- Specified by:
getAttribute
in interface Context
hasAttribute
public boolean hasAttribute(String param)
- Specified by:
hasAttribute
in interface Context
getAttributeNames
public Collection<String> getAttributeNames()
- Specified by:
getAttributeNames
in interface Context
removeAttribute
public Object removeAttribute(Enum key)
- Specified by:
removeAttribute
in interface Context
removeAttribute
public Object removeAttribute(Class<?> typeIndexed)
- Specified by:
removeAttribute
in interface Context
removeAttribute
public Object removeAttribute(String param)
- Specified by:
removeAttribute
in interface Context
getSession
public QueueSession getSession()
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.