org.objectweb.joram.client.jms
Class TopicConnectionFactory
java.lang.Object
org.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.ConnectionFactory
org.objectweb.joram.client.jms.TopicConnectionFactory
- All Implemented Interfaces:
- javax.jms.ConnectionFactory, javax.naming.Referenceable, java.io.Serializable, SoapObjectItf, javax.jms.TopicConnectionFactory
- Direct Known Subclasses:
- TopicLocalConnectionFactory, TopicSoapConnectionFactory, TopicTcpConnectionFactory
- public abstract class TopicConnectionFactory
- extends ConnectionFactory
- implements javax.jms.TopicConnectionFactory
Implements the javax.jms.TopicConnectionFactory interface.
- See Also:
- Serialized Form
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.jms.ConnectionFactory |
createConnection, createConnection |
TopicConnectionFactory
public TopicConnectionFactory(java.lang.String host,
int port)
- Constructs a
TopicConnectionFactory dedicated to a given
server.
- Parameters:
host - Name or IP address of the server's host.port - Server's listening port.
TopicConnectionFactory
public TopicConnectionFactory()
- Constructs an empty
TopicConnectionFactory.
toString
public java.lang.String toString()
- Returns a string view of the connection factory.
- Overrides:
toString in class ConnectionFactory
createTopicConnection
public abstract javax.jms.TopicConnection createTopicConnection(java.lang.String name,
java.lang.String password)
throws javax.jms.JMSException
- API method, implemented according to the communication protocol.
- Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
- Throws:
JMSSecurityException - If the user identification is incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException
createTopicConnection
public javax.jms.TopicConnection createTopicConnection()
throws javax.jms.JMSException
- API method.
- Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
- Throws:
JMSSecurityException - If the default identification is
incorrect.
java.lang.IllegalStateException - If the server is not listening.
javax.jms.JMSException
Copyright ? 2004 Scalagent - All rights reserved