Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » mq » [javadoc | source]
org.jboss.mq
public class: SpyConnectionFactory [javadoc | source]
java.lang.Object
   org.jboss.mq.SpyConnectionFactory

All Implemented Interfaces:
    Referenceable, javax.jms.TopicConnectionFactory, javax.jms.ConnectionFactory, Serializable, javax.jms.QueueConnectionFactory

Direct Known Subclasses:
    SpyXAConnectionFactory

This class implements javax.jms.TopicConnectionFactory and javax.jms.QueueConnectionFactory.
Field Summary
static final  long serialVersionUID    The serialVersionUID 
protected  GenericConnectionFactory factory    The delegate factory 
Constructor:
 public SpyConnectionFactory(GenericConnectionFactory factory) 
    Create a new SpyConnectionFactory
    Parameters:
    factory - the delegate factory
 public SpyConnectionFactory(Properties config) 
    Create a new SpyConnectionFactory
    Parameters:
    config - the configuration
Method from org.jboss.mq.SpyConnectionFactory Summary:
createConnection,   createConnection,   createQueueConnection,   createQueueConnection,   createTopicConnection,   createTopicConnection,   getProperties,   getReference,   internalCreateConnection,   internalCreateConnection
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.mq.SpyConnectionFactory Detail:
 public Connection createConnection() throws JMSException 
 public Connection createConnection(String userName,
    String password) throws JMSException 
 public QueueConnection createQueueConnection() throws JMSException 
 public QueueConnection createQueueConnection(String userName,
    String password) throws JMSException 
 public TopicConnection createTopicConnection() throws JMSException 
 public TopicConnection createTopicConnection(String userName,
    String password) throws JMSException 
 public Properties getProperties() 
    For testing
 public Reference getReference() throws NamingException 
 protected Connection internalCreateConnection(int type) throws JMSException 
    Create a connection
 protected Connection internalCreateConnection(int type,
    String userName,
    String password) throws JMSException 
    Create a connection