public class XAConnectionFactory extends ConnectionFactory implements jakarta.jms.XAConnectionFactory
XAConnectionFactory is used to create XAConnections with the Sun MQ Java Message Service (JMS)
provider.jakarta.jms.XAConnectionFactory,
Serialized FormAO_PROPERTY_TYPE_BOOLEAN, AO_PROPERTY_TYPE_INTEGER, AO_PROPERTY_TYPE_LIST, AO_PROPERTY_TYPE_LONG, AO_PROPERTY_TYPE_PROPERTYOWNER, AO_PROPERTY_TYPE_STRING, cachedConfigurationMap, configuration, configurationLabels, configurationTypes, cr, storedVersion, VERSION| Constructor and Description |
|---|
XAConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
jakarta.jms.XAConnection |
createXAConnection()
Create an XA connection with default user identity.
|
jakarta.jms.XAConnection |
createXAConnection(java.lang.String username,
java.lang.String password)
Create an XA connection with specified user identity.
|
jakarta.jms.XAJMSContext |
createXAContext() |
jakarta.jms.XAJMSContext |
createXAContext(java.lang.String userName,
java.lang.String password) |
jakarta.jms.XAQueueConnection |
createXAQueueConnection()
Create an XA queue connection with default user identity.
|
jakarta.jms.XAQueueConnection |
createXAQueueConnection(java.lang.String username,
java.lang.String password)
Create an XA queue connection with specific user identity.
|
jakarta.jms.XATopicConnection |
createXATopicConnection()
Create an XA topic connection with default user identity.
|
jakarta.jms.XATopicConnection |
createXATopicConnection(java.lang.String username,
java.lang.String password)
Create an XA topic connection with specified user identity.
|
protected static com.sun.messaging.jmq.jmsclient.ContainerType |
getContainerType() |
createQueueConnection, createQueueConnection, createTopicConnection, createTopicConnection, getReferencecreateConnection, createConnection, createContext, createContext, createContext, createContext, getConnectionType, setConnectionType, setDefaultConfiguration, toStringdump, enumeratePropertyNames, getConfiguration, getCurrentConfiguration, getLabelForGroup, getPropertiesForGroup, getProperty, getPropertyForListValue, getPropertyGroups, getPropertyLabel, getPropertyListOtherName, getPropertyListValues, getPropertyType, getPropertyValueForListValue, getStoredVersion, getVERSION, isPropertyDeprecated, isPropertyHidden, isReadOnly, isStoredVersionCompatible, setProperty, setReadOnlypublic jakarta.jms.XAConnection createXAConnection()
throws jakarta.jms.JMSException
Connection.start method is explicitly called.createXAConnection in interface jakarta.jms.XAConnectionFactoryjakarta.jms.JMSException - if JMS Provider fails to create XA Connection due to some internal error.jakarta.jms.JMSSecurityException - if client authentication fails due to invalid user name or password.public jakarta.jms.XAConnection createXAConnection(java.lang.String username,
java.lang.String password)
throws jakarta.jms.JMSException
Connection.start method is explicitly called.createXAConnection in interface jakarta.jms.XAConnectionFactoryusername - the caller's user namepassword - the caller's passwordjakarta.jms.JMSException - if JMS Provider fails to create XA connection due to some internal error.jakarta.jms.JMSSecurityException - if client authentication fails due to invalid user name or password.public jakarta.jms.XAQueueConnection createXAQueueConnection()
throws jakarta.jms.JMSException
Connection.start method is explicitly called.jakarta.jms.JMSException - if JMS Provider fails to create XA queue Connection due to some internal error.jakarta.jms.JMSSecurityException - if client authentication fails due to invalid user name or password.public jakarta.jms.XAQueueConnection createXAQueueConnection(java.lang.String username,
java.lang.String password)
throws jakarta.jms.JMSException
Connection.start method is explicitly called.username - the caller's user namepassword - the caller's passwordjakarta.jms.JMSException - if JMS Provider fails to create XA queue Connection due to some internal error.jakarta.jms.JMSSecurityException - if client authentication fails due to invalid user name or password.public jakarta.jms.XATopicConnection createXATopicConnection()
throws jakarta.jms.JMSException
Connection.start method is explicitly called.jakarta.jms.JMSException - if JMS Provider fails to create XA topic Connection due to some internal error.jakarta.jms.JMSSecurityException - if client authentication fails due to invalid user name or password.public jakarta.jms.XATopicConnection createXATopicConnection(java.lang.String username,
java.lang.String password)
throws jakarta.jms.JMSException
Connection.start method is explicitly called.username - the caller's user namepassword - the caller's passwordjakarta.jms.JMSException - if JMS Provider fails to create XA topi connection due to some internal error.jakarta.jms.JMSSecurityException - if client authentication fails due to invalid user name or password.public jakarta.jms.XAJMSContext createXAContext()
createXAContext in interface jakarta.jms.XAConnectionFactorypublic jakarta.jms.XAJMSContext createXAContext(java.lang.String userName,
java.lang.String password)
createXAContext in interface jakarta.jms.XAConnectionFactoryprotected static com.sun.messaging.jmq.jmsclient.ContainerType getContainerType()
Copyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved.