KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > remoting > detection > Detector


1 /***************************************
2  * *
3  * JBoss: The OpenSource J2EE WebOS *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  ***************************************/

9 package org.jboss.remoting.detection;
10
11 import javax.management.MBeanRegistration JavaDoc;
12
13 /**
14  * Detector
15  *
16  * @author <a HREF="mailto:jhaynie@vocalocity.net">Jeff Haynie</a>
17  * @version $Revision: 1.2 $
18  */

19 public interface Detector extends MBeanRegistration JavaDoc
20 {
21    /**
22     * called by MBeanServer to start the mbean lifecycle
23     *
24     * @throws Exception
25     */

26    public void start() throws Exception JavaDoc;
27
28    /**
29     * called by the MBeanServer to stop the mbean lifecycle
30     *
31     * @throws Exception
32     */

33    public void stop() throws Exception JavaDoc;
34 }
35
Popular Tags