|
Oracle® Database Advanced Queuing Java API Reference 12c Release 1 (12.1) E15980-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jms.AQjmsConnectionFactory
oracle.jms.AQjmsXAConnectionFactory
public class AQjmsXAConnectionFactory
Oracle class implementing javax.jms.XAConnectionFactory
Constructor Summary | |
---|---|
AQjmsXAConnectionFactory() Constructs a XAConnectionFactory object. |
Method Summary | |
---|---|
XAConnection |
createXAConnection() Creates a XAConnection with the default user identity. |
XAConnection |
createXAConnection(java.lang.String userName, java.lang.String password) Creates a XAConnection with the specified user identity. |
Methods inherited from class oracle.jms.AQjmsConnectionFactory |
---|
createConnection, createConnection, getDataSource, getJdbcURL, getObjectInstance, getUsername, setDatasource, setJdbcURL, setPassword, setUsername |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AQjmsXAConnectionFactory()
Method Detail |
---|
public XAConnection createXAConnection() throws JMSException
XAConnection
with the default user identity. The XAConnection
is created in stopped mode. No messages will be delivered until the XAConnection.start
method is explicitly called.createXAConnection
in interface XAConnectionFactory
XAConnection
JMSException
- if the JMS provider fails to create the connection due to some internal error.JMSSecurityException
- if client authentication fails due to an invalid user name or password.public XAConnection createXAConnection(java.lang.String userName, java.lang.String password) throws JMSException
XAConnection
with the specified user identity. The XAConnection
is created in stopped mode. No messages will be delivered until the XAConnection.start
method is explicitly called.createXAConnection
in interface XAConnectionFactory
userName
- the caller's user namepassword
- the caller's passwordXAConnection
JMSException
- if the JMS provider fails to create the XAConnection due to some internal error.JMSSecurityException
- if client authentication fails due to an invalid user name or password.
|
Oracle® Database Advanced Queuing Java API Reference 12c Release 1 (12.1) E15980-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2001, 2013, Oracle and/or its affiliates. All rights reserved.
For authorized use only.
Do not distribute to third parties.