Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.resource.adapter » jms » inflow » [javadoc | source]
org.jboss.resource.adapter.jms.inflow
public class: JmsServerSessionPool [javadoc | source]
java.lang.Object
   org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool

All Implemented Interfaces:
    javax.jms.ServerSessionPool

A generic jms session pool.
Field Summary
 JmsActivation activation    The activation 
 ConnectionConsumer consumer    The consumer 
 ArrayList serverSessions    The server sessions 
 boolean stopped    Whether the pool is stopped 
 int sessionCount    The number of sessions 
Constructor:
 public JmsServerSessionPool(JmsActivation activation) 
    Create a new session pool
    Parameters:
    activation - the jms activation
Method from org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool Summary:
getActivation,   getServerSession,   returnServerSession,   setupConsumer,   setupSessions,   start,   stop,   teardownConsumer,   teardownSessions
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool Detail:
 public JmsActivation getActivation() 
 public ServerSession getServerSession() throws JMSException 
 protected  void returnServerSession(JmsServerSession session) 
    Return the server session
 protected  void setupConsumer() throws Exception 
    Setup the connection consumer
 protected  void setupSessions() throws Exception 
    Setup the sessions
 public  void start() throws Exception 
    Start the server session pool
 public  void stop() 
    Stop the server session pool
 protected  void teardownConsumer() 
    Stop the connection consumer
 protected  void teardownSessions() 
    Stop the sessions