|
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.AQjmsQueueConnectionFactory
This is an Oracle class which implements javax.jms.QueueConnectionFactory. A QueueConnectionFactory is an encapsulation of JMS servers to which QueueConnections can be created to access message queuing facilities.
| Method Summary | |
QueueConnection |
createQueueConnection()Creates a queue connection with the default user identity. |
static QueueConnection |
createQueueConnection(java.sql.Connection jdbcConnection)Creates a queue connection using an already open JDBC connection. |
QueueConnection |
createQueueConnection(java.lang.String userName, java.lang.String password)Creates a queue connection using the specified user identity. |
javax.naming.Reference |
getReference()Creates a JMS queue 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 |
| Methods inherited from interface javax.jms.ConnectionFactory |
createConnection, createConnection |
| Method Detail |
public QueueConnection createQueueConnection()
throws JMSException
Connection.start method is explicitly called.createQueueConnection in interface QueueConnectionFactoryJMSException - if the queue connection is not created due to some error.JMSSecurityException - if client authentication fails due to an invalid user name or password.
public QueueConnection createQueueConnection(java.lang.String userName,
java.lang.String password)
throws JMSException
Connection.start method is explicitly called.createQueueConnection in interface QueueConnectionFactoryuserName - the caller's user namepassword - the caller's passwordJMSException - if the queue connection is not created due to some error.JMSSecurityException - if client authentication fails due to an invalid user name or password.
public static QueueConnection createQueueConnection(java.sql.Connection jdbcConnection)
throws JMSException
jdbcConnection - a valid open connection to the database.JMSException - if the queue connection is not created due to some error.public javax.naming.Reference getReference()
AQjmsConnectionFactory.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable).getReference in interface javax.naming.ReferenceablegetReference 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 | |||||||||