|
Novell exteNd Messaging Platform 5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A client uses a TopicConnectionFactory
object to create
TopicConnection
objects with a publish/subscribe JMS provider.
ConnectionFactory
Method Summary | |
TopicConnection |
createTopicConnection()
Creates a topic connection with the default user identity. |
TopicConnection |
createTopicConnection(String userName,
String password)
Creates a topic connection with the specified user identity. |
Method Detail |
public TopicConnection createTopicConnection() throws JMSException
Connection.start
method
is explicitly called.
JMSException
- if the JMS provider fails to create a topic
connection due to some internal error.
JMSSecurityException
- if client authentication fails due to
an invalid user name or password.public TopicConnection createTopicConnection(String userName, String password) throws JMSException
Connection.start
method
is explicitly called.
userName
- the caller's user namepassword
- the caller's password
JMSException
- if the JMS provider fails to create a topic
connection due to some internal error.
JMSSecurityException
- if client authentication fails due to
an invalid user name or password.
|
Novell exteNd Messaging Platform 5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |