|
The Spring Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ListenerSessionManager | |
---|---|
org.springframework.jms.listener.serversession | This package contains the ServerSessionMessageListenerContainer implementation, based on the standard JMS ServerSessionPool API. |
Uses of ListenerSessionManager in org.springframework.jms.listener.serversession |
---|
Classes in org.springframework.jms.listener.serversession that implement ListenerSessionManager | |
---|---|
class |
ServerSessionMessageListenerContainer
Message listener container that builds on the JMS ServerSessionPool SPI, creating JMS ServerSessions through a pluggable ServerSessionFactory. |
class |
ServerSessionMessageListenerContainer102
A subclass of ServerSessionMessageListenerContainer that uses the JMS 1.0.2 specification, rather than the JMS 1.1 methods used by ServerSessionMessageListenerContainer itself. |
Methods in org.springframework.jms.listener.serversession with parameters of type ListenerSessionManager | |
---|---|
void |
SimpleServerSessionFactory.close(ListenerSessionManager sessionManager)
This implementation is empty, as there is no state held for each ListenerSessionManager. |
void |
ServerSessionFactory.close(ListenerSessionManager sessionManager)
Close all ServerSessions for the given session manager. |
void |
CommonsPoolServerSessionFactory.close(ListenerSessionManager sessionManager)
Closes all pools held by this ServerSessionFactory. |
protected ObjectPool |
CommonsPoolServerSessionFactory.createObjectPool(ListenerSessionManager sessionManager)
Subclasses can override this if they want to return a specific Commons pool. |
protected PoolableObjectFactory |
CommonsPoolServerSessionFactory.createPoolableObjectFactory(ListenerSessionManager sessionManager)
Create a Commons PoolableObjectFactory adapter for the given session manager. |
protected ServerSession |
AbstractPoolingServerSessionFactory.createServerSession(ListenerSessionManager sessionManager)
Create a new poolable ServerSession. |
ServerSession |
SimpleServerSessionFactory.getServerSession(ListenerSessionManager sessionManager)
Creates a new SimpleServerSession with a new JMS Session for every call. |
ServerSession |
ServerSessionFactory.getServerSession(ListenerSessionManager sessionManager)
Retrieve a JMS ServerSession for the given session manager. |
ServerSession |
CommonsPoolServerSessionFactory.getServerSession(ListenerSessionManager sessionManager)
Returns a ServerSession from the pool, creating a new pool for the given session manager if necessary. |
protected void |
CommonsPoolServerSessionFactory.serverSessionFinished(ServerSession serverSession,
ListenerSessionManager sessionManager)
Returns the given ServerSession, which just finished an execution of its listener, back to the pool. |
protected abstract void |
AbstractPoolingServerSessionFactory.serverSessionFinished(ServerSession serverSession,
ListenerSessionManager sessionManager)
Template method called by a ServerSession if it finished execution of its listener and is ready to go back into the pool. |
|
The Spring Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |