|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Callback interface for JMS code. To be used with JmsTemplate's execute method, often as an anonymous class within a method implementation.
The typical implementatino will perform multiple operations on the JMS Session, possibly returning a result object.
JmsTemplate.execute(SessionCallback)
Method Summary | |
java.lang.Object |
doInJms(javax.jms.Session session)
Execute operations against a JMS session possibly returning a result. |
Method Detail |
public java.lang.Object doInJms(javax.jms.Session session) throws javax.jms.JMSException
session
- the JMS session
javax.jms.JMSException
- if thrown by JMS API methods
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |