|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListenerSessionManager
SPI interface for creating and executing JMS Sessions, pre-populated with a specific MessageListener. Implemented by ServerSessionMessageListenerContainer, accessed by ServerSessionFactory implementations.
Effectively, an instance that implements this interface represents a message listener container for a specific listener and destination.
ServerSessionFactory
,
ServerSessionMessageListenerContainer
Method Summary | |
---|---|
Session |
createListenerSession()
Deprecated. Create a new JMS Session, pre-populated with this manager's MessageListener. |
void |
executeListenerSession(Session session)
Deprecated. Execute the given JMS Session, triggering its MessageListener with pre-loaded messages. |
Method Detail |
---|
Session createListenerSession() throws JMSException
JMSException
- if Session creation failedSession.setMessageListener(javax.jms.MessageListener)
void executeListenerSession(Session session)
session
- the JMS Session to invokeSession.run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |