1 /* 2 * Copyright (C) The MX4J Contributors. 3 * All rights reserved. 4 * 5 * This software is distributed under the terms of the MX4J License version 1.0. 6 * See the terms of the MX4J License in the documentation provided with this software. 7 */ 8 package mx4j.examples.mbeans.iiop; 9 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.4 $ 17 */ 18 public interface Hello extends Remote 19 { 20 public static final String IIOP_JNDI_NAME = "iiop://localhost:1900/iiop_service"; 21 sayHello(String name)22 public void sayHello(String name) throws RemoteException; 23 } 24