org.apache.qpid.management.wsdm.common
Class ThreadSessionManager

java.lang.Object
  extended by org.apache.qpid.management.wsdm.common.ThreadSessionManager

public final class ThreadSessionManager
extends Object

Thread session manager used to handle thread-scoped sessions.


Method Summary
static ThreadSessionManager getInstance()
          Returns the singleton instance of this manager.
 ThreadSession getSession()
          Returns (or create and returns) the session associated with the current thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ThreadSessionManager getInstance()
Returns the singleton instance of this manager.

Returns:
the singleton instance of this manager.

getSession

public ThreadSession getSession()
Returns (or create and returns) the session associated with the current thread.

Returns:
the thread session.


Licensed to the Apache Software Foundation