KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > jndi > browser > model > service > JMSConnectionService


1 /*
2  * EJTools, the Enterprise Java Tools
3  *
4  * Distributable under LGPL license.
5  * See terms of license at www.gnu.org.
6  */

7 package org.ejtools.jndi.browser.model.service;
8
9 import javax.jms.QueueConnectionFactory JavaDoc;
10 import javax.jms.TopicConnectionFactory JavaDoc;
11
12 /**
13  * Description of the Interface
14  *
15  * @author letiemble
16  * @created 3 avril 2002
17  * @version $Revision: 1.2 $
18  * @todo Javadoc to complete
19  */

20 public interface JMSConnectionService
21 {
22    /** Description of the Field */
23    public final static String JavaDoc QUEUE_CONNECTION_FACTORY = "QUEUE";
24    /** Description of the Field */
25    public final static String JavaDoc TOPIC_CONNECTION_FACTORY = "TOPIC";
26
27
28    /**
29     * Getter for the defaultQueueConnectionFactory attribute
30     *
31     * @return The value of defaultQueueConnectionFactory attribute
32     */

33    public QueueConnectionFactory JavaDoc getDefaultQueueConnectionFactory();
34
35
36    /**
37     * Getter for the defaultConnectionFactory attribute
38     *
39     * @return The value of defaultConnectionFactory attribute
40     */

41    public TopicConnectionFactory JavaDoc getDefaultTopicConnectionFactory();
42
43
44    /**
45     * Description of the Method
46     *
47     * @param type Description of the Parameter
48     */

49    public void selectFactory(String JavaDoc type);
50 }
51
52
Popular Tags