org.objectweb.joram.client.jms
Class XAQueueConnectionFactory

java.lang.Object
  extended byorg.objectweb.joram.client.jms.admin.AdministeredObject
      extended byorg.objectweb.joram.client.jms.XAConnectionFactory
          extended byorg.objectweb.joram.client.jms.XAQueueConnectionFactory
All Implemented Interfaces:
javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.naming.Referenceable, java.io.Serializable, SoapObjectItf, javax.jms.XAConnectionFactory, javax.jms.XAQueueConnectionFactory
Direct Known Subclasses:
XAQueueLocalConnectionFactory, XAQueueTcpConnectionFactory

public abstract class XAQueueConnectionFactory
extends XAConnectionFactory
implements javax.jms.XAQueueConnectionFactory

Implements the javax.jms.XAQueueConnectionFactory interface.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.client.jms.XAConnectionFactory
params
 
Fields inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
id, instancesTable
 
Constructor Summary
XAQueueConnectionFactory(java.lang.String host, int port)
          Constructs an XAQueueConnectionFactory dedicated to a given server.
 
Method Summary
 javax.jms.Connection createConnection()
          Method inherited from interface ConnectionFactory.
abstract  javax.jms.Connection createConnection(java.lang.String name, java.lang.String password)
          Method inherited from interface ConnectionFactory, implemented according to the communication protocol..
 javax.jms.QueueConnection createQueueConnection()
          Method inherited from interface QueueConnectionFactory.
abstract  javax.jms.QueueConnection createQueueConnection(java.lang.String name, java.lang.String password)
          Method inherited from interface QueueConnectionFactory, implemented according to the communication protocol.
 javax.jms.XAQueueConnection createXAQueueConnection()
          API method.
abstract  javax.jms.XAQueueConnection createXAQueueConnection(java.lang.String name, java.lang.String password)
          API method, implemented according to the communication protocol.
 java.lang.String toString()
          Returns a string view of the connection factory.
 
Methods inherited from class org.objectweb.joram.client.jms.XAConnectionFactory
code, createXAConnection, createXAConnection, decode, getParameters, getReference
 
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.XAConnectionFactory
createXAConnection, createXAConnection
 

Constructor Detail

XAQueueConnectionFactory

public XAQueueConnectionFactory(java.lang.String host,
                                int port)
Constructs an XAQueueConnectionFactory dedicated to a given server.

Parameters:
host - Name or IP address of the server's host.
port - Server's listening port.
Method Detail

toString

public java.lang.String toString()
Returns a string view of the connection factory.

Overrides:
toString in class XAConnectionFactory

createXAQueueConnection

public abstract javax.jms.XAQueueConnection createXAQueueConnection(java.lang.String name,
                                                                    java.lang.String password)
                                                             throws javax.jms.JMSException
API method, implemented according to the communication protocol.

Specified by:
createXAQueueConnection in interface javax.jms.XAQueueConnectionFactory
Throws:
JMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException

createXAQueueConnection

public javax.jms.XAQueueConnection createXAQueueConnection()
                                                    throws javax.jms.JMSException
API method.

Specified by:
createXAQueueConnection in interface javax.jms.XAQueueConnectionFactory
Throws:
JMSSecurityException - If the default identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException

createQueueConnection

public abstract javax.jms.QueueConnection createQueueConnection(java.lang.String name,
                                                                java.lang.String password)
                                                         throws javax.jms.JMSException
Method inherited from interface QueueConnectionFactory, implemented according to the communication protocol.

Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
JMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException

createQueueConnection

public javax.jms.QueueConnection createQueueConnection()
                                                throws javax.jms.JMSException
Method inherited from interface QueueConnectionFactory.

Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
JMSSecurityException - If the default identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException

createConnection

public abstract javax.jms.Connection createConnection(java.lang.String name,
                                                      java.lang.String password)
                                               throws javax.jms.JMSException
Method inherited from interface ConnectionFactory, implemented according to the communication protocol..

Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
JMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException

createConnection

public javax.jms.Connection createConnection()
                                      throws javax.jms.JMSException
Method inherited from interface ConnectionFactory.

Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
JMSSecurityException - If the default identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException


Copyright ? 2004 Scalagent - All rights reserved