ch.qos.logback.classic.net.mock
Class MockTopicConnection
java.lang.Object
ch.qos.logback.classic.net.mock.MockTopicConnection
- All Implemented Interfaces:
- javax.jms.Connection, javax.jms.TopicConnection
public class MockTopicConnection
- extends Object
- implements javax.jms.TopicConnection
Method Summary |
void |
close()
|
javax.jms.ConnectionConsumer |
createConnectionConsumer(javax.jms.Destination arg0,
String arg1,
javax.jms.ServerSessionPool arg2,
int arg3)
|
javax.jms.ConnectionConsumer |
createConnectionConsumer(javax.jms.Topic arg0,
String arg1,
javax.jms.ServerSessionPool arg2,
int arg3)
|
javax.jms.ConnectionConsumer |
createDurableConnectionConsumer(javax.jms.Topic arg0,
String arg1,
String arg2,
javax.jms.ServerSessionPool arg3,
int arg4)
|
javax.jms.Session |
createSession(boolean arg0,
int arg1)
|
javax.jms.TopicSession |
createTopicSession(boolean arg0,
int arg1)
|
String |
getClientID()
|
javax.jms.ExceptionListener |
getExceptionListener()
|
javax.jms.ConnectionMetaData |
getMetaData()
|
void |
setClientID(String arg0)
|
void |
setExceptionListener(javax.jms.ExceptionListener arg0)
|
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockTopicConnection
public MockTopicConnection()
createTopicSession
public javax.jms.TopicSession createTopicSession(boolean arg0,
int arg1)
throws javax.jms.JMSException
- Specified by:
createTopicSession
in interface javax.jms.TopicConnection
- Throws:
javax.jms.JMSException
createConnectionConsumer
public javax.jms.ConnectionConsumer createConnectionConsumer(javax.jms.Topic arg0,
String arg1,
javax.jms.ServerSessionPool arg2,
int arg3)
throws javax.jms.JMSException
- Specified by:
createConnectionConsumer
in interface javax.jms.TopicConnection
- Throws:
javax.jms.JMSException
createDurableConnectionConsumer
public javax.jms.ConnectionConsumer createDurableConnectionConsumer(javax.jms.Topic arg0,
String arg1,
String arg2,
javax.jms.ServerSessionPool arg3,
int arg4)
throws javax.jms.JMSException
- Specified by:
createDurableConnectionConsumer
in interface javax.jms.Connection
- Specified by:
createDurableConnectionConsumer
in interface javax.jms.TopicConnection
- Throws:
javax.jms.JMSException
close
public void close()
throws javax.jms.JMSException
- Specified by:
close
in interface javax.jms.Connection
- Throws:
javax.jms.JMSException
createConnectionConsumer
public javax.jms.ConnectionConsumer createConnectionConsumer(javax.jms.Destination arg0,
String arg1,
javax.jms.ServerSessionPool arg2,
int arg3)
throws javax.jms.JMSException
- Specified by:
createConnectionConsumer
in interface javax.jms.Connection
- Throws:
javax.jms.JMSException
createSession
public javax.jms.Session createSession(boolean arg0,
int arg1)
throws javax.jms.JMSException
- Specified by:
createSession
in interface javax.jms.Connection
- Throws:
javax.jms.JMSException
getClientID
public String getClientID()
throws javax.jms.JMSException
- Specified by:
getClientID
in interface javax.jms.Connection
- Throws:
javax.jms.JMSException
getExceptionListener
public javax.jms.ExceptionListener getExceptionListener()
throws javax.jms.JMSException
- Specified by:
getExceptionListener
in interface javax.jms.Connection
- Throws:
javax.jms.JMSException
getMetaData
public javax.jms.ConnectionMetaData getMetaData()
throws javax.jms.JMSException
- Specified by:
getMetaData
in interface javax.jms.Connection
- Throws:
javax.jms.JMSException
setClientID
public void setClientID(String arg0)
throws javax.jms.JMSException
- Specified by:
setClientID
in interface javax.jms.Connection
- Throws:
javax.jms.JMSException
setExceptionListener
public void setExceptionListener(javax.jms.ExceptionListener arg0)
throws javax.jms.JMSException
- Specified by:
setExceptionListener
in interface javax.jms.Connection
- Throws:
javax.jms.JMSException
start
public void start()
throws javax.jms.JMSException
- Specified by:
start
in interface javax.jms.Connection
- Throws:
javax.jms.JMSException
stop
public void stop()
throws javax.jms.JMSException
- Specified by:
stop
in interface javax.jms.Connection
- Throws:
javax.jms.JMSException
Copyright © 2005-2009 QOS.ch. All Rights Reserved.