/* 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.io.Serializable;
import java.lang.reflect.InvocationHandler;

import org.jfox.ejb.ObjectId;

/**
 * 这个invocationHandler 工作在客户端,完成一些可以在客户端执行的操作,然后转发给 invoker 来执行
 * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
 */

public interface ClientContainerInvoker extends InvocationHandler, Serializable {

  /**
   * 得到要访问的远程 EJBHome 或者 EJBObject 的 ObjectId
   * @return
   */
  ObjectId getObjectId();

}