|
Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) B14291-01 |
|||||||||
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
Oracle class implementing javax.jms.XAConnectionFactory
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. |
javax.naming.Reference |
getReference() Creates a JMS connection factory reference suitable for passing to AQjmsConnectionFactory.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable) . |
Methods inherited from class oracle.jms.AQjmsConnectionFactory |
createConnection, createConnection, getObjectInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.public javax.naming.Reference getReference()
AQjmsConnectionFactory
AQjmsConnectionFactory.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)
.getReference
in interface javax.naming.Referenceable
getReference
in class AQjmsConnectionFactory
|
Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) B14291-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |