Hello.java :  » J2EE » enhydra » mx4j » examples » mbeans » iiop » Java Open Source

Java Open Source » J2EE » enhydra 
enhydra » mx4j » examples » mbeans » iiop » Hello.java
/*
 * Copyright (C) The MX4J Contributors.
 * All rights reserved.
 *
 * This software is distributed under the terms of the MX4J License version 1.0.
 * See the terms of the MX4J License in the documentation provided with this software.
 */
package mx4j.examples.mbeans.iiop;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * The RMI Remote interface exposed by the Hello service.
 *
 * @version $Revision: 1.1 $
 */
public interface Hello extends Remote
{
   public static final String IIOP_JNDI_NAME = "iiop://localhost:1900/iiop_service";

   public void sayHello(String name) throws RemoteException;
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.