public class AQjmsTopicConnectionFactory extends AQjmsConnectionFactory implements TopicConnectionFactory, java.io.Serializable
javax.jms.TopicConnectionFactory. A TopicConnectionFactory is an encapsulation of JMS servers to which TopicConnections can be created to access Topics for message distribution.| Constructor and Description |
|---|
AQjmsTopicConnectionFactory()
Constructs a TopicConnectionFactory object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
createConnection, createConnection, getDataSource, getJdbcURL, getObjectInstance, getUsername, setDatasource, setJdbcURL, setPassword, setUsernameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateConnection, createConnectionpublic AQjmsTopicConnectionFactory()
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.