|
Message Queue, v4.4 API Specification | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.messaging.AdministeredObject
com.sun.messaging.BasicConnectionFactory
com.sun.messaging.ConnectionFactory
com.sun.messaging.XAConnectionFactory
public class XAConnectionFactory
An XAConnectionFactory
is used to create XAConnections with
the Sun MQ Java Message Service (JMS) provider.
javax.jms.XAConnectionFactory
,
Serialized FormField Summary |
---|
Fields inherited from class com.sun.messaging.AdministeredObject |
---|
AO_PROPERTY_TYPE_BOOLEAN, AO_PROPERTY_TYPE_INTEGER, AO_PROPERTY_TYPE_LIST, AO_PROPERTY_TYPE_LONG, AO_PROPERTY_TYPE_PROPERTYOWNER, AO_PROPERTY_TYPE_STRING, configuration, configurationLabels, configurationTypes, cr, storedVersion, VERSION |
Constructor Summary | |
---|---|
XAConnectionFactory()
|
Method Summary | |
---|---|
XAConnection |
createXAConnection()
Create an XA connection with default user identity. |
XAConnection |
createXAConnection(java.lang.String username,
java.lang.String password)
Create an XA connection with specified user identity. |
XAQueueConnection |
createXAQueueConnection()
Create an XA queue connection with default user identity. |
XAQueueConnection |
createXAQueueConnection(java.lang.String username,
java.lang.String password)
Create an XA queue connection with specific user identity. |
XATopicConnection |
createXATopicConnection()
Create an XA topic connection with default user identity. |
XATopicConnection |
createXATopicConnection(java.lang.String username,
java.lang.String password)
Create an XA topic connection with specified user identity. |
Methods inherited from class com.sun.messaging.ConnectionFactory |
---|
createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, getReference |
Methods inherited from class com.sun.messaging.BasicConnectionFactory |
---|
createConnection, createConnection, getConnectionType, setConnectionType, setDefaultConfiguration, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XAConnectionFactory()
Method Detail |
---|
public XAConnection createXAConnection() throws JMSException
Connection.start
method
is explicitly called.
createXAConnection
in interface XAConnectionFactory
JMSException
- if JMS Provider fails to create XA Connection
due to some internal error.
JMSSecurityException
- if client authentication fails due to
invalid user name or password.public XAConnection createXAConnection(java.lang.String username, java.lang.String password) throws JMSException
Connection.start
method
is explicitly called.
createXAConnection
in interface XAConnectionFactory
username
- the caller's user namepassword
- the caller's password
JMSException
- if JMS Provider fails to create XA connection
due to some internal error.
JMSSecurityException
- if client authentication fails due to
invalid user name or password.public XAQueueConnection createXAQueueConnection() throws JMSException
Connection.start
method
is explicitly called.
JMSException
- if JMS Provider fails to create XA queue Connection
due to some internal error.
JMSSecurityException
- if client authentication fails due to
invalid user name or password.public XAQueueConnection createXAQueueConnection(java.lang.String username, java.lang.String password) throws JMSException
Connection.start
method
is explicitly called.
username
- the caller's user namepassword
- the caller's password
JMSException
- if JMS Provider fails to create XA queue Connection
due to some internal error.
JMSSecurityException
- if client authentication fails due to
invalid user name or password.public XATopicConnection createXATopicConnection() throws JMSException
Connection.start
method
is explicitly called.
JMSException
- if JMS Provider fails to create XA topic Connection
due to some internal error.
JMSSecurityException
- if client authentication fails due to
invalid user name or password.public XATopicConnection createXATopicConnection(java.lang.String username, java.lang.String password) throws JMSException
Connection.start
method
is explicitly called.
username
- the caller's user namepassword
- the caller's password
JMSException
- if JMS Provider fails to create XA topi connection
due to some internal error.
JMSSecurityException
- if client authentication fails due to
invalid user name or password.
|
Message Queue, v4.4 API Specification | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |