Joram 4.3.32

org.objectweb.joram.client.jms
Class XAConnectionFactory

java.lang.Object
  extended by org.objectweb.joram.client.jms.admin.AdministeredObject
      extended by org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
          extended by org.objectweb.joram.client.jms.XAConnectionFactory
All Implemented Interfaces:
fr.dyade.aaa.jndi2.soap.SoapObjectItf, java.io.Serializable, javax.jms.XAConnectionFactory, javax.naming.Referenceable
Direct Known Subclasses:
XAHALocalConnectionFactory, XAHATcpConnectionFactory, XALocalConnectionFactory, XAQueueConnectionFactory, XATcpConnectionFactory, XATopicConnectionFactory

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

Implements the javax.jms.XAConnectionFactory interface.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.client.jms.admin.AbstractConnectionFactory
params, reliableClass
 
Constructor Summary
XAConnectionFactory()
          Constructs an empty ConnectionFactory.
XAConnectionFactory(java.lang.String url)
          Constructs an XAConnectionFactory dedicated to a given server.
XAConnectionFactory(java.lang.String host, int port)
          Constructs an XAConnectionFactory dedicated to a given server.
 
Method Summary
 javax.jms.XAConnection createXAConnection()
          API method.
abstract  javax.jms.XAConnection createXAConnection(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.admin.AbstractConnectionFactory
code, code, decode, decode, fromReference, fromReference, getDefaultLogin, getDefaultPassword, getDefaultRootLogin, getDefaultRootPassword, getParameters, setReliableClass, toReference, toReference
 
Methods inherited from class org.objectweb.joram.client.jms.admin.AdministeredObject
getReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XAConnectionFactory

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

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

XAConnectionFactory

public XAConnectionFactory(java.lang.String url)
Constructs an XAConnectionFactory dedicated to a given server.

Parameters:
url - joram ha url

XAConnectionFactory

public XAConnectionFactory()
Constructs an empty ConnectionFactory.

Method Detail

toString

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

Overrides:
toString in class java.lang.Object

createXAConnection

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

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

createXAConnection

public javax.jms.XAConnection createXAConnection()
                                          throws javax.jms.JMSException
API method.

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

Joram 4.3.32

Copyright © 2005 Scalagent - All rights reserved