|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.connector.OutboundConnectionFactory
org.objectweb.joram.client.connector.OutboundTopicConnectionFactory
An OutboundTopicConnectionFactory
instance is used for
getting a PubSub connection to an underlying JORAM server.
Field Summary |
Fields inherited from class org.objectweb.joram.client.connector.OutboundConnectionFactory |
cxManager, mcf, reference |
Method Summary | |
javax.jms.TopicConnection |
createTopicConnection()
Requests a PubSub connection for the default user, eventually returns an OutboundTopicConnection instance. |
javax.jms.TopicConnection |
createTopicConnection(java.lang.String userName,
java.lang.String password)
Requests a PubSub connection for a given user, eventually returns an OutboundConnection instance. |
Methods inherited from class org.objectweb.joram.client.connector.OutboundConnectionFactory |
createConnection, createConnection, getReference, setReference |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.ConnectionFactory |
createConnection, createConnection |
Methods inherited from interface javax.resource.Referenceable |
setReference |
Methods inherited from interface javax.naming.Referenceable |
getReference |
Method Detail |
public javax.jms.TopicConnection createTopicConnection() throws javax.jms.JMSException
OutboundTopicConnection
instance.
createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSSecurityException
- If connecting is not allowed.
javax.jms.IllegalStateException
- If the underlying JORAM server
is not reachable.
javax.jms.JMSException
- Generic exception.public javax.jms.TopicConnection createTopicConnection(java.lang.String userName, java.lang.String password) throws javax.jms.JMSException
OutboundConnection
instance.
createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSSecurityException
- If connecting is not allowed.
javax.jms.IllegalStateException
- If the underlying JORAM server
is not reachable.
javax.jms.JMSException
- Generic exception.
|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |