|
Oracle® Streams Advanced Queuing Java API Reference Release 1 (10.1) B12023-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jms.AQjmsConnectionFactory
Oracle class implementing javax.jms.ConnectionFactory, javax.naming.spi.ObjectFactory
Method Summary | |
javax.jms.Connection |
createConnection() Creates a connection with the default user identity. |
javax.jms.Connection |
createConnection(java.lang.String userName, java.lang.String password) Creates a connection with the specified user identity. |
java.lang.Object |
getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable environment) |
javax.naming.Reference |
getReference() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable environment) throws JMSException
getObjectInstance
in interface javax.naming.spi.ObjectFactory
JMSException
public javax.jms.Connection createConnection() throws JMSException
Connection.start
method is explicitly called.createConnection
in interface ConnectionFactory
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 javax.jms.Connection createConnection(java.lang.String userName, java.lang.String password) throws JMSException
Connection.start
method is explicitly called.createConnection
in interface ConnectionFactory
userName
- the caller's user namepassword
- the caller's passwordJMSException
- 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 javax.naming.Reference getReference()
getReference
in interface javax.naming.Referenceable
|
Oracle® Streams Advanced Queuing Java API Reference Release 1 (10.1) B12023-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |