org.mule.providers.oracle.jms
Class OracleJmsConnection

java.lang.Object
  extended byorg.mule.providers.oracle.jms.OracleJmsConnection
All Implemented Interfaces:
Connection, QueueConnection, TopicConnection

public class OracleJmsConnection
extends Object
implements TopicConnection, QueueConnection


Constructor Summary
OracleJmsConnection(OracleJmsConnector connector)
           
 
Method Summary
 void close()
          Iterate through the open connections and close them one by one.
 ConnectionConsumer createConnectionConsumer(Queue arg0, String arg1, ServerSessionPool arg2, int arg3)
           
 ConnectionConsumer createConnectionConsumer(Topic arg0, String arg1, ServerSessionPool arg2, int arg3)
           
 ConnectionConsumer createDurableConnectionConsumer(Topic arg0, String arg1, String arg2, ServerSessionPool arg3, int arg4)
           
 QueueSession createQueueSession(boolean transacted, int ackMode)
           
 TopicSession createTopicSession(boolean transacted, int ackMode)
           
 String getClientID()
           
 ExceptionListener getExceptionListener()
           
 ConnectionMetaData getMetaData()
           
protected  QueueConnection getQueueConnection()
           
protected  TopicConnection getTopicConnection()
           
 void setClientID(String arg0)
           
 void setExceptionListener(ExceptionListener arg0)
           
 void start()
          Iterate through the open connections and start them one by one.
 void stop()
          Iterate through the open connections and stop them one by one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleJmsConnection

public OracleJmsConnection(OracleJmsConnector connector)
Method Detail

start

public void start()
           throws JMSException
Iterate through the open connections and start them one by one.

Specified by:
start in interface Connection
Throws:
JMSException

stop

public void stop()
          throws JMSException
Iterate through the open connections and stop them one by one.

Specified by:
stop in interface Connection
Throws:
JMSException

close

public void close()
           throws JMSException
Iterate through the open connections and close them one by one.

Specified by:
close in interface Connection
Throws:
JMSException

getQueueConnection

protected QueueConnection getQueueConnection()
                                      throws JMSException
Throws:
JMSException

getTopicConnection

protected TopicConnection getTopicConnection()
                                      throws JMSException
Throws:
JMSException

createQueueSession

public QueueSession createQueueSession(boolean transacted,
                                       int ackMode)
                                throws JMSException
Specified by:
createQueueSession in interface QueueConnection
Throws:
JMSException

createTopicSession

public TopicSession createTopicSession(boolean transacted,
                                       int ackMode)
                                throws JMSException
Specified by:
createTopicSession in interface TopicConnection
Throws:
JMSException

createConnectionConsumer

public ConnectionConsumer createConnectionConsumer(Topic arg0,
                                                   String arg1,
                                                   ServerSessionPool arg2,
                                                   int arg3)
                                            throws JMSException
Specified by:
createConnectionConsumer in interface TopicConnection
Throws:
JMSException

createDurableConnectionConsumer

public ConnectionConsumer createDurableConnectionConsumer(Topic arg0,
                                                          String arg1,
                                                          String arg2,
                                                          ServerSessionPool arg3,
                                                          int arg4)
                                                   throws JMSException
Specified by:
createDurableConnectionConsumer in interface TopicConnection
Throws:
JMSException

createConnectionConsumer

public ConnectionConsumer createConnectionConsumer(Queue arg0,
                                                   String arg1,
                                                   ServerSessionPool arg2,
                                                   int arg3)
                                            throws JMSException
Specified by:
createConnectionConsumer in interface QueueConnection
Throws:
JMSException

getClientID

public String getClientID()
                   throws JMSException
Specified by:
getClientID in interface Connection
Throws:
JMSException

getExceptionListener

public ExceptionListener getExceptionListener()
                                       throws JMSException
Specified by:
getExceptionListener in interface Connection
Throws:
JMSException

getMetaData

public ConnectionMetaData getMetaData()
                               throws JMSException
Specified by:
getMetaData in interface Connection
Throws:
JMSException

setClientID

public void setClientID(String arg0)
                 throws JMSException
Specified by:
setClientID in interface Connection
Throws:
JMSException

setExceptionListener

public void setExceptionListener(ExceptionListener arg0)
                          throws JMSException
Specified by:
setExceptionListener in interface Connection
Throws:
JMSException


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.