org.activemq.ra
Class ServerSessionPoolImpl

java.lang.Object
  extended byorg.activemq.ra.ServerSessionPoolImpl
All Implemented Interfaces:
ServerSessionPool

public class ServerSessionPoolImpl
extends Object
implements ServerSessionPool

Version:
$Revision: 1.1.1.1 $ $Date: 2005/03/11 21:15:11 $

Constructor Summary
ServerSessionPoolImpl(ActiveMQAsfEndpointWorker activeMQAsfEndpointWorker, int maxSessions)
           
 
Method Summary
 void close()
           
 ServerSession getServerSession()
           
 void removeFromPool(ServerSessionImpl ss)
           
 void returnToPool(ServerSessionImpl ss)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerSessionPoolImpl

public ServerSessionPoolImpl(ActiveMQAsfEndpointWorker activeMQAsfEndpointWorker,
                             int maxSessions)
Method Detail

getServerSession

public ServerSession getServerSession()
                               throws JMSException
Specified by:
getServerSession in interface ServerSessionPool
Throws:
JMSException

returnToPool

public void returnToPool(ServerSessionImpl ss)

removeFromPool

public void removeFromPool(ServerSessionImpl ss)

close

public void close()


Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.