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: package mx4j.examples.mbeans.iiop;
09:
10: import java.rmi.Remote;
11: import java.rmi.RemoteException;
12:
13: /**
14: * The RMI Remote interface exposed by the Hello service.
15: *
16: * @version $Revision: 1.1 $
17: */
18: public interface Hello extends Remote {
19: public static final String IIOP_JNDI_NAME = "iiop://localhost:1900/iiop_service";
20:
21: public void sayHello(String name) throws RemoteException;
22: }
|