/* JFox, the OpenSource J2EE Application Server
 *
 * Copyright (C) 2002 huihoo.com
 * Distributable under GNU LGPL license
 * See the GNU Lesser General Public License for more details.
 */

package org.jfox.ejb.invoker;

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

import org.jfox.ejb.Invocation;

/**
 * 
 * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
 */

public interface ContainerRemote extends Remote {
  Object invoke(Invocation invocation) throws RemoteException;

  /**
   * 用来测试该 ContainerRemote 是否还活动的方法,方法主体为空
   * @throws RemoteException
   */
  void ping() throws RemoteException;
}