01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package mx4j.examples.mbeans.rmi;
10:
11: /**
12: * The management interface exposed by the service.
13: * As you can see, the management operations consist of
14: * starting and stopping the service along with seeing if the server is running.
15: * Note that it does not contain the {@link MyRemoteService#sayHello} method, which is
16: * considered in this example a business method and not a management method.
17: *
18: * @version $Revision: 1.1 $
19: */
20: public interface MyRemoteServiceObjectMBean {
21: public void start() throws Exception;
22:
23: public void stop() throws Exception;
24:
25: public boolean isRunning();
26: }
|