|
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.jms.AQjmsQueueConnectionFactory
Oracle class implementing javax.jms.QueueConnectionFactory. A QueueConnectionFactory is an encapsulation of JMS servers to which Queue Connections can be created to access Message Queuing facilites.
Method Summary | |
javax.jms.QueueConnection |
createQueueConnection() create a Queue Connection to the JMS Server hosting this Queue- ConnectionFactory. |
static javax.jms.QueueConnection |
createQueueConnection(java.sql.Connection jdbc_connection) create a Queue Connection using the already open JDBC connection. |
static javax.jms.QueueConnection |
createQueueConnection(oracle.jdbc.pool.OracleOCIConnectionPool cpool) create a Queue Connection using the already open OCI connection pool. |
javax.jms.QueueConnection |
createQueueConnection(java.lang.String username, java.lang.String password) create a Queue Connection using the given username and password for authentication during creation of the Connection. |
javax.naming.Reference |
getReference() |
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 javax.jms.QueueConnection createQueueConnection() throws JMSException
createQueueConnection
in interface QueueConnectionFactory
JMSException
- if JMS fails to get a queue connection due to some JMS errorpublic javax.jms.QueueConnection createQueueConnection(java.lang.String username, java.lang.String password) throws JMSException
createQueueConnection
in interface QueueConnectionFactory
username
- name of the user connecting to the DB for Queueing. password password for the creating the connection to server.password
- the caller's passwordJMSException
- if JMS fails to get a queue connection due to some JMS errorpublic static javax.jms.QueueConnection createQueueConnection(java.sql.Connection jdbc_connection) throws JMSException
jdbc_connection
- a valid open connection to the database.JMSException
- if JMS fails to get a queue connection due to some JMS errorpublic static javax.jms.QueueConnection createQueueConnection(oracle.jdbc.pool.OracleOCIConnectionPool cpool) throws JMSException
cpool
- a valid open connection OCI connection pool to the database.JMSException
- if JMS fails to get a queue connection due to some JMS errorpublic javax.naming.Reference getReference()
getReference
in interface javax.naming.Referenceable
getReference
in class AQjmsConnectionFactory
|
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 |