package examples.xml.biztalk.ejb;

import examples.xml.biztalk.*;
import java.rmi.RemoteException;
import javax.ejb.EJBObject;

/**
 * Interface used by EJBs registered with a Biztalk server.
 *
 * @author Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved.
 */

public interface BizBean extends EJBObject {
  /**
   * Service method signature for an EJB to be invoked by a Biztalk server.
   *
   * @param message IncomingMessage object constructed from a Biztalk
   *                document.
   *
   * @exception java.rmi.RemoteException 
   */
  public void service(IncomingMessage message) throws RemoteException;
}
