org.objectweb.joram.client.jms
Class QueueConnectionFactory
java.lang.Object
org.objectweb.joram.client.jms.admin.AdministeredObject
org.objectweb.joram.client.jms.ConnectionFactory
org.objectweb.joram.client.jms.QueueConnectionFactory
- All Implemented Interfaces:
- javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.naming.Referenceable, java.io.Serializable, SoapObjectItf
- Direct Known Subclasses:
- QueueLocalConnectionFactory, QueueSoapConnectionFactory, QueueTcpConnectionFactory
- public abstract class QueueConnectionFactory
- extends ConnectionFactory
- implements javax.jms.QueueConnectionFactory
Implements the javax.jms.QueueConnectionFactory
interface.
- See Also:
- Serialized Form
Method Summary |
javax.jms.QueueConnection |
createQueueConnection()
API method. |
abstract javax.jms.QueueConnection |
createQueueConnection(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 |
QueueConnectionFactory
public QueueConnectionFactory(java.lang.String host,
int port)
- Constructs a
QueueConnectionFactory
dedicated to a given
server.
- Parameters:
host
- Name or IP address of the server's host.port
- Server's listening port.
QueueConnectionFactory
public QueueConnectionFactory()
- Constructs an empty
QueueConnectionFactory
.
toString
public java.lang.String toString()
- Returns a string view of the connection factory.
- Overrides:
toString
in class ConnectionFactory
createQueueConnection
public abstract javax.jms.QueueConnection createQueueConnection(java.lang.String name,
java.lang.String password)
throws javax.jms.JMSException
- API method, implemented according to the communication protocol.
- Specified by:
createQueueConnection
in interface javax.jms.QueueConnectionFactory
- Throws:
JMSSecurityException
- If the user identification is incorrect.
java.lang.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
createQueueConnection
public javax.jms.QueueConnection createQueueConnection()
throws javax.jms.JMSException
- API method.
- Specified by:
createQueueConnection
in interface javax.jms.QueueConnectionFactory
- 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