| |
|
| java.lang.Object org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool
JmsServerSessionPool | public class JmsServerSessionPool implements ServerSessionPool(Code) | | A generic jms session pool.
author: Adrian Brock version: $Revision: 60552 $ |
consumer | ConnectionConsumer consumer(Code) | | The consumer
|
sessionCount | int sessionCount(Code) | | The number of sessions
|
stopped | boolean stopped(Code) | | Whether the pool is stopped
|
JmsServerSessionPool | public JmsServerSessionPool(JmsActivation activation)(Code) | | Create a new session pool
Parameters: activation - the jms activation |
getServerSession | public ServerSession getServerSession() throws JMSException(Code) | | |
returnServerSession | protected void returnServerSession(JmsServerSession session)(Code) | | Return the server session
Parameters: session - the session |
setupConsumer | protected void setupConsumer() throws Exception(Code) | | Setup the connection consumer
throws: Exeption - for any error |
setupSessions | protected void setupSessions() throws Exception(Code) | | Setup the sessions
throws: Exeption - for any error |
start | public void start() throws Exception(Code) | | Start the server session pool
throws: Exeption - for any error |
stop | public void stop()(Code) | | Stop the server session pool
|
teardownConsumer | protected void teardownConsumer()(Code) | | Stop the connection consumer
|
teardownSessions | protected void teardownSessions()(Code) | | Stop the sessions
|
|
|
|