站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 connector API Documentation 英文版文档

JmsConnectionFactoryImpl (JBoss Connector API) - JBoss 4.0.1 sp1 connector API Documentation 英文版文档


org.jboss.resource.adapter.jms
Class JmsConnectionFactoryImpl

java.lang.Object
  extended byorg.jboss.resource.adapter.jms.JmsConnectionFactoryImpl
All Implemented Interfaces:
javax.jms.ConnectionFactory, JmsConnectionFactory, javax.jms.QueueConnectionFactory, Referenceable, javax.resource.Referenceable, Serializable, javax.jms.TopicConnectionFactory

public class JmsConnectionFactoryImpl
extends Object
implements JmsConnectionFactory, javax.resource.Referenceable

The the connection factory implementation for the JMS RA.

This object will be the QueueConnectionFactory or TopicConnectionFactory which clients will use to create connections. Created: Thu Apr 26 17:02:50 2001

Version:
$Revision: 1.9 $
Author:
Peter Antman., Jason Dillon
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.jboss.resource.adapter.jms.JmsConnectionFactory
BOTH, QUEUE, TOPIC
 
Constructor Summary
JmsConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionManager cm)
           
 
Method Summary
 javax.jms.Connection createConnection()
           
 javax.jms.Connection createConnection(String userName, String password)
           
 javax.jms.QueueConnection createQueueConnection()
           
 javax.jms.QueueConnection createQueueConnection(String userName, String password)
           
 javax.jms.TopicConnection createTopicConnection()
           
 javax.jms.TopicConnection createTopicConnection(String userName, String password)
           
 Reference getReference()
           
 void setReference(Reference reference)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsConnectionFactoryImpl

public JmsConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf,
                                javax.resource.spi.ConnectionManager cm)
Method Detail

setReference

public void setReference(Reference reference)
Specified by:
setReference in interface javax.resource.Referenceable

getReference

public Reference getReference()
Specified by:
getReference in interface Referenceable

createQueueConnection

public javax.jms.QueueConnection createQueueConnection()
                                                throws javax.jms.JMSException
Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
javax.jms.JMSException

createQueueConnection

public javax.jms.QueueConnection createQueueConnection(String userName,
                                                       String password)
                                                throws javax.jms.JMSException
Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
javax.jms.JMSException

createTopicConnection

public javax.jms.TopicConnection createTopicConnection()
                                                throws javax.jms.JMSException
Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
Throws:
javax.jms.JMSException

createTopicConnection

public javax.jms.TopicConnection createTopicConnection(String userName,
                                                       String password)
                                                throws javax.jms.JMSException
Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
Throws:
javax.jms.JMSException

createConnection

public javax.jms.Connection createConnection()
                                      throws javax.jms.JMSException
Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
javax.jms.JMSException

createConnection

public javax.jms.Connection createConnection(String userName,
                                             String password)
                                      throws javax.jms.JMSException
Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
javax.jms.JMSException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.