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: import java.rmi.Remote;
12: import java.rmi.RemoteException;
13:
14: /**
15: * The RMI Remote interface of the service.
16: *
17: * @version $Revision: 1.1 $
18: */
19: public interface MyRemoteService extends Remote {
20: public static final String JNDI_NAME = "rmi://localhost:1099/my-service";
21:
22: public void sayHello(String name) throws RemoteException;
23: }
|