|
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.AQjmsTopicConnectionFactory
Oracle class implementing javax.jms.TopicConnectionFactory. A TopicConnectionFactory is an encapsulation of JMS servers to which Topic Connections can be created to access Topics for message distri- bution.
Method Summary | |
javax.jms.TopicConnection |
createTopicConnection() create a Topic Connection to the JMS Server hosting this Topic- connection factory. |
static javax.jms.TopicConnection |
createTopicConnection(java.sql.Connection jdbc_connection) create a Topic Connection using JDBC connection. |
static javax.jms.TopicConnection |
createTopicConnection(oracle.jdbc.pool.OracleOCIConnectionPool cpool) create a Topic Connection using an OCI connection pool. |
javax.jms.TopicConnection |
createTopicConnection(java.lang.String username, java.lang.String password) create a Topic 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.TopicConnection createTopicConnection() throws JMSException
createTopicConnection
in interface TopicConnectionFactory
JMSException
- if JMS fails to get a topic connection due to some JMS errorpublic javax.jms.TopicConnection createTopicConnection(java.lang.String username, java.lang.String password) throws JMSException
createTopicConnection
in interface TopicConnectionFactory
username
- name of the user connecting to the DB for Queueing. password password for the user creating the connection.password
- the caller's passwordJMSException
- if JMS fails to get a topic connection due to some JMS errorpublic static javax.jms.TopicConnection createTopicConnection(java.sql.Connection jdbc_connection) throws JMSException
jdbc_connection
- a valid open connection to the database.JMSException
- if JMS fails to get a topic connection due to some JMS errorpublic static javax.jms.TopicConnection createTopicConnection(oracle.jdbc.pool.OracleOCIConnectionPool cpool) throws JMSException
cpool
- a valid open connection pool to the database.JMSException
- if JMS fails to get a topic 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 |