KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejtools > management > browser > model > service > ConnectionService


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.management.browser.model.service;
8
9 import java.io.Serializable JavaDoc;
10
11 import javax.management.j2ee.Management JavaDoc;
12
13 import org.ejtools.util.service.Profile;
14
15 /**
16  * Description of the Class
17  *
18  * @author Laurent Etiemble
19  * @version $Revision: 1.6 $
20  * @todo Javadoc to complete
21  */

22 public interface ConnectionService extends Serializable JavaDoc
23 {
24    /**
25     * Gets the mBeanServer attribute of the ConnectionService object
26     *
27     * @return The mBeanServer value
28     */

29    public Management JavaDoc getMEJB();
30
31
32    /**
33     * Gets the connected attribute of the ConnectionService object
34     *
35     * @return The connected value
36     */

37    public boolean isConnected();
38
39
40    /**
41     * Description of the Method
42     *
43     * @param profile Description of the Parameter
44     */

45    public void connect(Profile profile);
46
47
48    /** Description of the Method */
49    public void disconnect();
50 }
51
52
Popular Tags