org.apache.activemq.ra
Class ServerSessionPoolImpl
java.lang.Object
org.apache.activemq.ra.ServerSessionPoolImpl
- All Implemented Interfaces:
- javax.jms.ServerSessionPool
public class ServerSessionPoolImpl
- extends java.lang.Object
- implements javax.jms.ServerSessionPool
$Date$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerSessionPoolImpl
public ServerSessionPoolImpl(ActiveMQEndpointWorker activeMQAsfEndpointWorker,
int maxSessions)
getServerSession
public javax.jms.ServerSession getServerSession()
throws javax.jms.JMSException
- Specified by:
getServerSession
in interface javax.jms.ServerSessionPool
- Throws:
javax.jms.JMSException
returnToPool
public void returnToPool(ServerSessionImpl ss)
removeFromPool
public void removeFromPool(ServerSessionImpl ss)
close
public void close()
closeIdleSessions
protected int closeIdleSessions()
isClosing
public boolean isClosing()
- Returns:
- Returns the closing.
setClosing
public void setClosing(boolean closing)
- Parameters:
closing
- The closing to set.
Copyright © 2005-2012. All Rights Reserved.