|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.jms.connection.ConnectionFactoryImpl
com.caucho.jms.connection.XAConnectionFactoryImpl
public class XAConnectionFactoryImpl
A sample connection factory.
Constructor Summary | |
---|---|
XAConnectionFactoryImpl()
|
Method Summary | |
---|---|
Connection |
createConnection()
Creates a new queue connection |
Connection |
createConnection(java.lang.String username,
java.lang.String password)
Creates a new connection |
Queue |
createQueue(java.lang.String name)
Creates queue. |
QueueConnection |
createQueueConnection()
Creates a new queue connection |
QueueConnection |
createQueueConnection(java.lang.String username,
java.lang.String password)
Creates a new queue connection |
Topic |
createTopic(java.lang.String name)
Creates topics. |
TopicConnection |
createTopicConnection()
Creates a new queue connection |
TopicConnection |
createTopicConnection(java.lang.String username,
java.lang.String password)
Creates a new queue connection |
Methods inherited from class com.caucho.jms.connection.ConnectionFactoryImpl |
---|
addConnection, authenticate, createXAConnection, createXAConnection, createXAQueueConnection, createXAQueueConnection, createXATopicConnection, createXATopicConnection, findByClientID, getName, init, removeConnection, setClientID, setDataSource, setName, setPassword, setSerializationHandle, setUser, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XAConnectionFactoryImpl()
Method Detail |
---|
public Connection createConnection() throws JMSException
createConnection
in interface ConnectionFactory
createConnection
in class ConnectionFactoryImpl
JMSException
public Connection createConnection(java.lang.String username, java.lang.String password) throws JMSException
createConnection
in interface ConnectionFactory
createConnection
in class ConnectionFactoryImpl
username
- the username to authenticate with the server.password
- the password to authenticate with the server.
JMSException
public Queue createQueue(java.lang.String name) throws JMSException
createQueue
in class ConnectionFactoryImpl
JMSException
public Topic createTopic(java.lang.String name) throws JMSException
createTopic
in class ConnectionFactoryImpl
JMSException
public QueueConnection createQueueConnection() throws JMSException
createQueueConnection
in interface QueueConnectionFactory
createQueueConnection
in class ConnectionFactoryImpl
JMSException
public QueueConnection createQueueConnection(java.lang.String username, java.lang.String password) throws JMSException
createQueueConnection
in interface QueueConnectionFactory
createQueueConnection
in class ConnectionFactoryImpl
username
- the username to authenticate with the server.password
- the password to authenticate with the server.
JMSException
public TopicConnection createTopicConnection() throws JMSException
createTopicConnection
in interface TopicConnectionFactory
createTopicConnection
in class ConnectionFactoryImpl
JMSException
public TopicConnection createTopicConnection(java.lang.String username, java.lang.String password) throws JMSException
createTopicConnection
in interface TopicConnectionFactory
createTopicConnection
in class ConnectionFactoryImpl
username
- the username to authenticate with the server.password
- the password to authenticate with the server.
JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |