KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > jms > client > ImplementationDelegate


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.jms.client;
8
9 import javax.jms.JMSException JavaDoc;
10 import javax.naming.NamingException JavaDoc;
11 import javax.naming.Reference JavaDoc;
12
13 /**
14  * The implementation
15  *
16  * @author <a HREF="mailto:adrian@jboss.org>Adrian Brock</a>
17  * @version $Revision: 1.1 $
18  */

19 public interface ImplementationDelegate
20 {
21    // Constants -----------------------------------------------------
22

23    // Public --------------------------------------------------------
24

25    /**
26     * Create a connection delegate
27     *
28     * @param the user name
29     * @param the password
30     * @return the connection delegate
31     * @throws JMSException for any error
32     */

33    ConnectionDelegate createConnection(String JavaDoc userName, String JavaDoc password) throws JMSException JavaDoc;
34
35    /**
36     * Get a reference to the connection factory
37     *
38     * @return a Reference
39     * @throws NamingException for any error
40     */

41    Reference JavaDoc getReference() throws NamingException JavaDoc;
42
43    // Inner Classes --------------------------------------------------
44
}
45
Popular Tags