|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.ConnectionFactory
org.objectweb.joram.client.jms.TopicConnectionFactory
Implements the javax.jms.TopicConnectionFactory
interface.
Field Summary |
Fields inherited from class org.objectweb.joram.client.jms.ConnectionFactory |
params, reliableClass |
Constructor Summary | |
TopicConnectionFactory()
Constructs an empty TopicConnectionFactory . |
|
TopicConnectionFactory(java.lang.String host,
int port)
Constructs a TopicConnectionFactory dedicated to a given
server. |
Method Summary | |
javax.jms.TopicConnection |
createTopicConnection()
API method. |
abstract javax.jms.TopicConnection |
createTopicConnection(java.lang.String name,
java.lang.String password)
API method, implemented according to the communication protocol. |
java.lang.String |
toString()
Returns a string view of the connection factory. |
Methods inherited from class org.objectweb.joram.client.jms.ConnectionFactory |
code, createConnection, createConnection, decode, getDefaultLogin, getDefaultPassword, getParameters, getReference, setReliableClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.ConnectionFactory |
createConnection, createConnection |
Constructor Detail |
public TopicConnectionFactory(java.lang.String host, int port)
TopicConnectionFactory
dedicated to a given
server.
host
- Name or IP address of the server's host.port
- Server's listening port.public TopicConnectionFactory()
TopicConnectionFactory
.
Method Detail |
public java.lang.String toString()
toString
in class ConnectionFactory
public abstract javax.jms.TopicConnection createTopicConnection(java.lang.String name, java.lang.String password) throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
JMSSecurityException
- If the user identification is incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
public javax.jms.TopicConnection createTopicConnection() throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
JMSSecurityException
- If the default identification is
incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |