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

SpyConnectionFactory (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档


org.jboss.mq
Class SpyConnectionFactory

java.lang.Object
  extended byorg.jboss.mq.SpyConnectionFactory
All Implemented Interfaces:
javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, Referenceable, Serializable, javax.jms.TopicConnectionFactory
Direct Known Subclasses:
SpyXAConnectionFactory

public class SpyConnectionFactory
extends Object
implements Serializable, javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, Referenceable

This class implements javax.jms.TopicConnectionFactory and javax.jms.QueueConnectionFactory.

Version:
$Revision: 1.5.2.1 $
Author:
Norbert Lataille (Norbert.Lataille@m4x.org), Hiram Chirino (Cojonudo14@hotmail.com), Jason Dillon, Adrian Brock
See Also:
Serialized Form

Field Summary
protected  GenericConnectionFactory factory
          The delegate factory
 
Constructor Summary
SpyConnectionFactory(GenericConnectionFactory factory)
          Create a new SpyConnectionFactory
SpyConnectionFactory(Properties config)
          Create a new SpyConnectionFactory
 
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected GenericConnectionFactory factory
The delegate factory

Constructor Detail

SpyConnectionFactory

public SpyConnectionFactory(GenericConnectionFactory factory)
Create a new SpyConnectionFactory

Parameters:
factory - the delegate factory

SpyConnectionFactory

public SpyConnectionFactory(Properties config)
Create a new SpyConnectionFactory

Parameters:
config - the configuration
Method Detail

getReference

public Reference getReference()
                       throws NamingException
Specified by:
getReference in interface Referenceable
Throws:
NamingException

createConnection

public javax.jms.Connection createConnection()
                                      throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createConnection

public javax.jms.Connection createConnection(String userName,
                                             String password)
                                      throws javax.jms.JMSException
Throws:
javax.jms.JMSException

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


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