|
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.AQjmsTopicConnectionFactory
This is an Oracle class which implements javax.jms.TopicConnectionFactory. A TopicConnectionFactory is an encapsulation of JMS servers to which TopicConnections can be created to access Topics for message distribution.
| Method Summary | |
TopicConnection |
createTopicConnection()Creates a topic connection with the default user identity. |
static TopicConnection |
createTopicConnection(java.sql.Connection jdbcConnection)Creates a topic connection using an already open JDBC connection. |
TopicConnection |
createTopicConnection(java.lang.String username, java.lang.String password)Creates a topic connection using the specified user identity. |
javax.naming.Reference |
getReference()Creates a JMS topic 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 TopicConnection createTopicConnection()
throws JMSException
Connection.start method is explicitly called.createTopicConnection in interface TopicConnectionFactoryJMSException - if the topic connection is not created due to some error.JMSSecurityException - if client authentication fails due to an invalid user name or password.
public TopicConnection createTopicConnection(java.lang.String username,
java.lang.String password)
throws JMSException
Connection.start method is explicitly called.createTopicConnection in interface TopicConnectionFactorypassword - the caller's passwordusername - the caller's user nameJMSException - if the topic connection is not created due to some error.JMSSecurityException - if client authentication fails due to an invalid user name or password.
public static TopicConnection createTopicConnection(java.sql.Connection jdbcConnection)
throws JMSException
jdbcConnection - a valid open connection to the database.JMSException - if the topic 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 | |||||||||