public class MockServerSession extends Object implements javax.jms.ServerSession, Serializable
ServerSession.
The ServerSession is not meant for application
use.| Constructor and Description |
|---|
MockServerSession(MockConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Session |
getSession() |
boolean |
isStarted()
Returns if this server session was started.
|
void |
setSession(javax.jms.Session session) |
void |
start() |
public MockServerSession(MockConnection connection)
public boolean isStarted()
true if this server session is startedpublic void setSession(javax.jms.Session session)
public javax.jms.Session getSession()
throws javax.jms.JMSException
getSession in interface javax.jms.ServerSessionjavax.jms.JMSExceptionpublic void start()
throws javax.jms.JMSException
start in interface javax.jms.ServerSessionjavax.jms.JMSExceptionCopyright © 2003–2020. All rights reserved.