|
Oracle® Streams Advanced Queuing Java API Reference 11g Release 1 (11.1) B28392-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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 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. |
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, 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 javax.naming.Reference getReference()
AQjmsConnectionFactory.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable)
.getReference
in interface javax.naming.Referenceable
getReference
in class AQjmsConnectionFactory
|
Oracle® Streams Advanced Queuing Java API Reference 11g Release 1 (11.1) B28392-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |