@Deprecated public abstract class ConnectionDecorator extends Object implements Connection
| Constructor and Description |
|---|
ConnectionDecorator(Connection connection)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
|
ConnectionConsumer |
createConnectionConsumer(Destination destination,
String messageSelector,
ServerSessionPool serverSessionPool,
int maxMessages)
Deprecated.
|
ConnectionConsumer |
createDurableConnectionConsumer(Topic topic,
String subscriptionName,
String messageSelector,
ServerSessionPool serverSessionPool,
int maxMessages)
Deprecated.
|
Session |
createSession(boolean transacted,
int ackMode)
Deprecated.
|
String |
getClientID()
Deprecated.
|
ExceptionListener |
getExceptionListener()
Deprecated.
|
Connection |
getInternal()
Deprecated.
|
ConnectionMetaData |
getMetaData()
Deprecated.
|
void |
setClientID(String s)
Deprecated.
|
void |
setExceptionListener(ExceptionListener exceptionListener)
Deprecated.
|
void |
start()
Deprecated.
|
void |
stop()
Deprecated.
|
public ConnectionDecorator(Connection connection)
public Session createSession(boolean transacted, int ackMode) throws JMSException
createSession in interface ConnectionJMSExceptionpublic String getClientID() throws JMSException
getClientID in interface ConnectionJMSExceptionpublic void setClientID(String s) throws JMSException
setClientID in interface ConnectionJMSExceptionpublic ConnectionMetaData getMetaData() throws JMSException
getMetaData in interface ConnectionJMSExceptionpublic ExceptionListener getExceptionListener() throws JMSException
getExceptionListener in interface ConnectionJMSExceptionpublic void setExceptionListener(ExceptionListener exceptionListener) throws JMSException
setExceptionListener in interface ConnectionJMSExceptionpublic void start()
throws JMSException
start in interface ConnectionJMSExceptionpublic void stop()
throws JMSException
stop in interface ConnectionJMSExceptionpublic void close()
throws JMSException
close in interface ConnectionJMSExceptionpublic ConnectionConsumer createConnectionConsumer(Destination destination, String messageSelector, ServerSessionPool serverSessionPool, int maxMessages) throws JMSException
createConnectionConsumer in interface ConnectionJMSExceptionpublic ConnectionConsumer createDurableConnectionConsumer(Topic topic, String subscriptionName, String messageSelector, ServerSessionPool serverSessionPool, int maxMessages) throws JMSException
createDurableConnectionConsumer in interface ConnectionJMSExceptionpublic Connection getInternal()
Copyright © 2015 Calrissian. All rights reserved.