|
Oracle® Streams Advanced Queuing Java API Reference 11g Release 2 (11.2) E10768-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
public class 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.
| Constructor Summary | |
|---|---|
AQjmsTopicConnectionFactory()Constructs a TopicConnectionFactory object. |
|
| 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. |
static TopicConnection |
createTopicConnection(oracle.jdbc.pool.OracleOCIConnectionPool connectionPool)Creates a topic connection using an already open OCI connection pool. |
TopicConnection |
createTopicConnection(java.lang.String userName, java.lang.String password)Creates a topic 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 AQjmsTopicConnectionFactory()
| 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 TopicConnectionFactoryuserName - the caller's user namepassword - the caller's passwordJMSException - 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 static TopicConnection createTopicConnection(oracle.jdbc.pool.OracleOCIConnectionPool connectionPool)
throws JMSException
connectionPool - a valid open connection OCI connection pool to the databaseJMSException - if the topic connection is not created due to some error.
|
Oracle® Streams Advanced Queuing Java API Reference 11g Release 2 (11.2) E10768-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||