JTR 5.0 API Documentation

jtr.config.jms
Class JMSFactories

java.lang.Object
  extended by jtr.config.jms.JMSFactories
All Implemented Interfaces:
java.io.Serializable

public class JMSFactories
extends java.lang.Object
implements java.io.Serializable

This class is used for gathering a set of JMSConnectionFactory instances.

Since:
1.1
Version:
5.0
Author:
Francesco Russo (frusso@dev.java.net)
See Also:
JMSConnectionFactory, Serialized Form

Constructor Summary
JMSFactories()
          Default constructor
 
Method Summary
 void addConnectionFactory(JMSConnectionFactory jmsCF)
          Add a new JMSConnectionFactory to the current configuration.
 java.util.Collection<JMSConnectionFactory> getConnectionFactories()
          Get all the configured JMSConnectionFactory instances.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMSFactories

public JMSFactories()
Default constructor

Method Detail

addConnectionFactory

public void addConnectionFactory(JMSConnectionFactory jmsCF)
Add a new JMSConnectionFactory to the current configuration.

Parameters:
jmsCF - The new JMSConnectionFactory

getConnectionFactories

public java.util.Collection<JMSConnectionFactory> getConnectionFactories()
Get all the configured JMSConnectionFactory instances.

Returns:
Collection A Collection of JMSConnectionFactory

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

The JTR Project is licensed under GPL version 2