|
Oracle® Database Advanced Queuing Java API Reference 12c Release 1 (12.1) E15980-08 |
||||||||
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
public class AQjmsQueueConnectionFactory
This is an Oracle class which implements javax.jms.QueueConnectionFactory
. A QueueConnectionFactory
is an encapsulation of JMS servers to which QueueConnection
s can be created to access message queuing facilities.
Constructor Summary | |
---|---|
AQjmsQueueConnectionFactory() Constructs a QueueConnectionFactory object. |
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. |
static QueueConnection |
createQueueConnection(oracle.jdbc.pool.OracleOCIConnectionPool connectionPool) Creates a queue connection using an already open OCI connection pool. |
QueueConnection |
createQueueConnection(java.lang.String userName, java.lang.String password) Creates a queue connection using the specified user identity. |
Methods inherited from class oracle.jms.AQjmsConnectionFactory |
---|
createConnection, createConnection, getDataSource, getJdbcURL, getObjectInstance, getUsername, setDatasource, setJdbcURL, setPassword, setUsername |
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 |
Constructor Detail |
---|
public AQjmsQueueConnectionFactory()
Method Detail |
---|
public QueueConnection createQueueConnection() throws JMSException
Connection.start
method is explicitly called.createQueueConnection
in interface QueueConnectionFactory
JMSException
- 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 QueueConnectionFactory
userName
- 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 static QueueConnection createQueueConnection(oracle.jdbc.pool.OracleOCIConnectionPool connectionPool) throws JMSException
connectionPool
- a valid open connection OCI connection pool to the databaseJMSException
- if the queue connection is not created due to some error.
|
Oracle® Database Advanced Queuing Java API Reference 12c Release 1 (12.1) E15980-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2001, 2013, Oracle and/or its affiliates. All rights reserved.
For authorized use only.
Do not distribute to third parties.