Package me.ehp246.aufjms.api.jms
Class AufJmsContext
java.lang.Object
me.ehp246.aufjms.api.jms.AufJmsContext
- Since:
- 1.0
- Author:
- Lei Yang
-
Method Summary
Modifier and TypeMethodDescriptionstatic javax.jms.SessionRemove the session from the thread if one is present.static javax.jms.Sessionstatic voidset(javax.jms.Session session)
-
Method Details
-
set
public static void set(javax.jms.Session session) -
getSession
public static javax.jms.Session getSession() -
clearSession
public static javax.jms.Session clearSession()Remove the session from the thread if one is present.- Returns:
- session that is removed. Could be
null.
-