KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > examples > mbeans > iiop > Hello


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 JavaDoc;
11 import java.rmi.RemoteException JavaDoc;
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 JavaDoc
19 {
20    public static final String JavaDoc IIOP_JNDI_NAME = "iiop://localhost:1900/iiop_service";
21
22    public void sayHello(String JavaDoc name) throws RemoteException JavaDoc;
23 }
24
Popular Tags