/***************************************
 *                                     *
 *  JBoss: The OpenSource J2EE WebOS   *
 *                                     *
 *  Distributable under LGPL license.  *
 *  See terms of license at gnu.org.   *
 *                                     *
 ***************************************/

package org.jboss.proxy.ejb;

import java.security.Principal;
import javax.transaction.Transaction;

/**
 * Interface used by local IIOP invocations.
 *      
 * @author  <a href="mailto:reverbel@ime.usp.br">Francisco Reverbel</a>
 * @version $Revision: 1.3 $
 */
public interface LocalIIOPInvoker
{
   Object invoke(String opName,
                 Object[] arguments,
                 Transaction tx,
                 Principal identity,
                 Object credential)
      throws Exception;
}