SMILA (incubation) API documentation

org.eclipse.smila.connectivity.queue.worker.internal.connection
Class ConnectionWrapper

java.lang.Object
  extended by org.eclipse.smila.connectivity.queue.worker.internal.connection.ConnectionWrapper

public class ConnectionWrapper
extends java.lang.Object

The Class ConnectionWrapper.


Constructor Summary
ConnectionWrapper(Connection connection)
          Instantiates a new connection wrapper.
 
Method Summary
 void close()
          
 ConnectionConsumer createConnectionConsumer(Destination destination, java.lang.String s, ServerSessionPool serversessionpool, int i)
          
 ConnectionConsumer createDurableConnectionConsumer(Topic topic, java.lang.String s, java.lang.String s1, ServerSessionPool serversessionpool, int i)
          
 Session createSession(boolean flag, int i)
          
 java.lang.String getClientID()
          
 ExceptionListener getExceptionListener()
          
 ConnectionMetaData getMetaData()
          
 void setClientID(java.lang.String s)
          
 void setExceptionListener(ExceptionListener exceptionlistener)
          
 void start()
          
 void stop()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionWrapper

public ConnectionWrapper(Connection connection)
Instantiates a new connection wrapper.

Parameters:
connection - the connection
Method Detail

close

public void close()
           throws JMSException

Throws:
JMSException
See Also:
javax.jms.Connection#close()

createConnectionConsumer

public ConnectionConsumer createConnectionConsumer(Destination destination,
                                                   java.lang.String s,
                                                   ServerSessionPool serversessionpool,
                                                   int i)
                                            throws JMSException

Throws:
JMSException
See Also:
javax.jms.Connection#createConnectionConsumer(javax.jms.Destination, java.lang.String, javax.jms.ServerSessionPool, int)

createDurableConnectionConsumer

public ConnectionConsumer createDurableConnectionConsumer(Topic topic,
                                                          java.lang.String s,
                                                          java.lang.String s1,
                                                          ServerSessionPool serversessionpool,
                                                          int i)
                                                   throws JMSException

Throws:
JMSException
See Also:
javax.jms.Connection#createDurableConnectionConsumer(javax.jms.Topic, java.lang.String, java.lang.String, javax.jms.ServerSessionPool, int)

createSession

public Session createSession(boolean flag,
                             int i)
                      throws JMSException

Throws:
JMSException
See Also:
javax.jms.Connection#createSession(boolean, int)

getClientID

public java.lang.String getClientID()
                             throws JMSException

Throws:
JMSException
See Also:
javax.jms.Connection#getClientID()

getExceptionListener

public ExceptionListener getExceptionListener()
                                       throws JMSException

Throws:
JMSException
See Also:
javax.jms.Connection#getExceptionListener()

getMetaData

public ConnectionMetaData getMetaData()
                               throws JMSException

Throws:
JMSException
See Also:
javax.jms.Connection#getMetaData()

setClientID

public void setClientID(java.lang.String s)
                 throws JMSException

Throws:
JMSException
See Also:
javax.jms.Connection#setClientID(java.lang.String)

setExceptionListener

public void setExceptionListener(ExceptionListener exceptionlistener)
                          throws JMSException

Throws:
JMSException
See Also:
javax.jms.Connection#setExceptionListener(javax.jms.ExceptionListener)

start

public void start()
           throws JMSException

Throws:
JMSException
See Also:
javax.jms.Connection#start()

stop

public void stop()
          throws JMSException

Throws:
JMSException
See Also:
javax.jms.Connection#stop()

SMILA (incubation) API documentation