com.mockrunner.mock.jms
Class MockServerSessionPool

java.lang.Object
  extended by com.mockrunner.mock.jms.MockServerSessionPool
All Implemented Interfaces:
javax.jms.ServerSessionPool

public class MockServerSessionPool
extends java.lang.Object
implements javax.jms.ServerSessionPool

Mock implementation of JMS ServerSessionPool.


Constructor Summary
MockServerSessionPool(MockConnection connection)
           
 
Method Summary
 javax.jms.ServerSession getServerSession()
           
 void setServerSession(javax.jms.ServerSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockServerSessionPool

public MockServerSessionPool(MockConnection connection)
Method Detail

setServerSession

public void setServerSession(javax.jms.ServerSession session)

getServerSession

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