Joram ${version}

org.objectweb.joram.client.jms
Class XATopicConnectionFactory

java.lang.Object
  extended byorg.objectweb.joram.client.jms.admin.AdministeredObject
      extended byorg.objectweb.joram.client.jms.XAConnectionFactory
          extended byorg.objectweb.joram.client.jms.XATopicConnectionFactory
All Implemented Interfaces:
javax.jms.ConnectionFactory, javax.naming.Referenceable, java.io.Serializable, fr.dyade.aaa.jndi2.soap.SoapObjectItf, javax.jms.TopicConnectionFactory, javax.jms.XAConnectionFactory, javax.jms.XATopicConnectionFactory
Direct Known Subclasses:
XATopicHALocalConnectionFactory, XATopicHATcpConnectionFactory, XATopicLocalConnectionFactory, XATopicTcpConnectionFactory

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

Implements the javax.jms.XATopicConnectionFactory interface.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.client.jms.XAConnectionFactory
params, reliableClass
 
Constructor Summary
XATopicConnectionFactory(java.lang.String host, int port)
          Constructs an XATopicConnectionFactory 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.TopicConnection createTopicConnection()
          Method inherited from interface TopicConnectionFactory.
abstract  javax.jms.TopicConnection createTopicConnection(java.lang.String name, java.lang.String password)
          Method inherited from interface TopicConnectionFactory, implemented according to the communication protocol.
 javax.jms.XATopicConnection createXATopicConnection()
          API method.
abstract  javax.jms.XATopicConnection createXATopicConnection(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, setReliableClass
 
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

XATopicConnectionFactory

public XATopicConnectionFactory(java.lang.String host,
                                int port)
Constructs an XATopicConnectionFactory 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

createXATopicConnection

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

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

createXATopicConnection

public javax.jms.XATopicConnection createXATopicConnection()
                                                    throws javax.jms.JMSException
API method.

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

createTopicConnection

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

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

createTopicConnection

public javax.jms.TopicConnection createTopicConnection()
                                                throws javax.jms.JMSException
Method inherited from interface TopicConnectionFactory.

Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
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

Joram ${version}

Copyright ? 2005 Scalagent - All rights reserved