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 ;12 13 /**14 * Detector15 *16 * @author <a HREF="mailto:jhaynie@vocalocity.net">Jeff Haynie</a>17 * @version $Revision: 1.2 $18 */19 public interface Detector extends MBeanRegistration 20 {21 /**22 * called by MBeanServer to start the mbean lifecycle23 *24 * @throws Exception25 */26 public void start() throws Exception ;27 28 /**29 * called by the MBeanServer to stop the mbean lifecycle30 *31 * @throws Exception32 */33 public void stop() throws Exception ;34 }35