com.mockrunner.mock.jms
Class MockServerSession
java.lang.Object
com.mockrunner.mock.jms.MockServerSession
- All Implemented Interfaces:
- java.io.Serializable, javax.jms.ServerSession
public class MockServerSession
- extends java.lang.Object
- implements javax.jms.ServerSession, java.io.Serializable
Mock implementation of JMS ServerSession
.
The ServerSession
is not meant for application
use.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockServerSession
public MockServerSession(MockConnection connection)
isStarted
public boolean isStarted()
- Returns if this server session was started.
- Returns:
true
if this server session is started
setSession
public void setSession(javax.jms.Session session)
getSession
public javax.jms.Session getSession()
throws javax.jms.JMSException
- Specified by:
getSession
in interface javax.jms.ServerSession
- Throws:
javax.jms.JMSException
start
public void start()
throws javax.jms.JMSException
- Specified by:
start
in interface javax.jms.ServerSession
- Throws:
javax.jms.JMSException