| |
|
| java.lang.Object org.objectweb.jonas_jms.JConnectionFactory org.objectweb.jonas_jms.JTopicConnectionFactory
JTopicConnectionFactory | public class JTopicConnectionFactory extends JConnectionFactory implements TopicConnectionFactory(Code) | | JTopicConnectionFactory wraps a XATopicConnectionFactory.
author: Laurent Chauvirey, Frederic Maistre, Nicolas Tachker author: Contributor(s): author: Philippe Durieux author: Jeff Mesnil connection anonymous |
JTopicConnectionFactory | public JTopicConnectionFactory(String name)(Code) | | Constructor.
The underlaying XATopicConnectionFactory is found in the JmsManager.
|
createTopicConnection | public TopicConnection createTopicConnection() throws JMSException(Code) | | Create a topic connection for an anonymous user.
a newly created topic connection. throws: JMSException - - if JMS Provider fails to create a Topic Connection due to some internal error. throws: JMSSecurityException - - if client authentication fails due to invalid user name or password. |
createTopicConnection | public TopicConnection createTopicConnection(String userName, String password) throws JMSException(Code) | | Create a topic connection with specified user identity.
The connection is created in stopped mode. No messages will
be delivered until Connection.start method is explicitly called.
Parameters: userName - - the caller's user name Parameters: password - - the caller's password throws: JMSException - - if JMS Provider fails to create Topic Connection due to some internal error. required resources for a Topic Connection. throws: JMSSecurityException - - if client authentication fails due to invalid user name or password. |
|
|
|