Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/mule/umo/UMOSyncChainSupport.java


1   /* 
2    * $Header: /cvsroot/mule/mule/src/java/org/mule/umo/UMOSyncChainSupport.java,v 1.5 2003/10/20 21:44:38 rossmason Exp $
3    * $Revision: 1.5 $
4    * $Date: 2003/10/20 21:44:38 $
5    * ------------------------------------------------------------------------------------------------------
6    * 
7    * Copyright (c) Cubis Limited. All rights reserved.
8    * http://www.cubis.co.uk 
9    * 
10   * The software in this package is published under the terms of the BSD
11   * style license a copy of which has been included with this distribution in
12   * the LICENSE.txt file. 
13   *
14   */
15  package org.mule.umo;
16  
17  /**
18   * <p><code>UMOSyncChainSupport</code> is used to provide UMOs with an interface that
19   * supports synchronous message calls. This interface is not included with the UMOChain
20   * interface to avoid the need to implement both async and sync method calls when only async 
21   * calls are being used.
22   *
23   * @author <a href="mailto:ross.mason@cubis.co.uk">Ross Mason</a>
24   * @version $Revision: 1.5 $
25   *
26   */
27  public interface UMOSyncChainSupport
28  {
29      
30      /**
31       * Passes the event to the listener
32       * @param event the event ot process
33       * @return the return event
34       * @throws UMOException if the event fails to process properly
35       */
36      public UMOEvent onCall(UMOEvent event) throws UMOException;
37  }