当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 messaging API Documentation 英文版文档
SpyConnectionFactory (JBoss Messaging API) - JBoss 4.0.1 sp1 messaging API Documentation 英文版文档
org.jboss.mq
Class SpyConnectionFactory
java.lang.Object
org.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.11 $
- Author:
- Norbert Lataille (Norbert.Lataille@m4x.org), Hiram Chirino (Cojonudo14@hotmail.com), Jason Dillon, Adrian Brock
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected GenericConnectionFactory factory
- The delegate factory
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
getReference
public Reference getReference()
throws NamingException
- Specified by:
getReference
in interface Referenceable
- Throws:
NamingException
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
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.