| 
 | JTR 5.0 API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjtr.config.jms.JMSConnectionFactory
public class JMSConnectionFactory
This class is the object oriented representation of the
 conn-factory element of the jtr.xml
 configuration file.
 This class logically maps itself to a
 javax.jms.ConnectionFactory class.
 A JMSConnectionFactory holds a moltitude of
 JMSConnections.
JMSConnection, 
Serialized Form| Constructor Summary | |
|---|---|
| JMSConnectionFactory()Default constructor | |
| Method Summary | |
|---|---|
|  void | addConnection(JMSConnection conn)Add a connection to the set of Connectionsthat should be
 instantiated using the currentConnectionFactory. | 
|  java.util.Collection<JMSConnection> | getConnections()Return all the configured connections shaped as a CollectionofJMSConnectioninstances. | 
|  java.lang.String | getJndi()Get the JNDI name for the current JMS connection factory. | 
|  java.lang.String | getProperty()Get the name of the property of the concrete runner that will hold the actual ConnectionFactoryinstance. | 
|  void | setJndi(java.lang.String jndi)Set the JNDI name for the current JMS connection factory. | 
|  void | setProperty(java.lang.String property)Set the name of the property of the concrete runner that will hold the actual ConnectionFactoryinstance. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public JMSConnectionFactory()
| Method Detail | 
|---|
public void setJndi(java.lang.String jndi)
jndi - The connection factory JNDI namepublic java.lang.String getJndi()
public void setProperty(java.lang.String property)
ConnectionFactory instance.
property - The property namepublic java.lang.String getProperty()
ConnectionFactory instance.
public void addConnection(JMSConnection conn)
Connections that should be
 instantiated using the current ConnectionFactory.
conn - The JMSConnection representing a valid
            javax.jms.Connection instancepublic java.util.Collection<JMSConnection> getConnections()
Collection
 of JMSConnection instances.
JMSConnections.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()| 
 | The JTR Project is licensed under GPL version 2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||