KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ubermq > jms > client > UnicastTopicConnectionFactory


1 package com.ubermq.jms.client;
2
3
4 import com.ubermq.jms.client.unicast.*;
5 import javax.jms.*;
6 import java.net.*;
7
8 /**
9  * Creates a point to point topic connection, attached to a particular
10  * message server instance.<P>
11  *
12  * This connection factory is obsolete since JMS 1.1. Please use
13  * the <code>UnicastConnectionFactory</code> for all future applications.
14  * This class will be removed in the future.<P>
15  *
16  * @deprecated Use ConnectionFactory in JMS 1.1 compliant applications.
17  */

18 public final class UnicastTopicConnectionFactory
19     extends UnicastConnectionFactory
20     implements javax.jms.TopicConnectionFactory JavaDoc, java.io.Serializable JavaDoc
21 {
22     public static final long serialVersionUID = 1L;
23
24     /**
25      * Connects to a named URL, if the string is of the form <code>method://host:port</code>
26      * or a named host on the default port (3999) otherwise.<p>
27      *
28      * The URL may also be a comma separated list of URLs, indicating
29      * that failover should occur if a host is unreachable. <p>
30      *
31      * The method specification is ignored.<P>
32      *
33      * @see com.ubermq.jms.client.unicast.FailoverConnectionDescriptor
34      * @param host a URL, or the name of the host to connect to.
35      * @deprecated
36      */

37     public UnicastTopicConnectionFactory(String JavaDoc url)
38     {
39         super(url);
40     }
41
42     /**
43      * @deprecated
44      */

45     public UnicastTopicConnectionFactory(URI uri)
46     {
47         super(uri);
48     }
49
50     /**
51      * Connects to a named host and port.
52      *
53      * @param host the host to connect to.
54      * @param port the port to connect on.
55      * @deprecated
56      */

57     public UnicastTopicConnectionFactory(String JavaDoc host, int port)
58     {
59         super(host, port);
60     }
61 }
62
Popular Tags