View Javadoc

1   /*
2    * $Id: ProcessingStrategy.java 22864 2011-09-05 17:18:46Z dfeist $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.api.processor;
12  
13  import org.mule.api.MuleContext;
14  
15  import java.util.List;
16  
17  /**
18   * Determines how a list of message processors should processed.
19   */
20  public interface ProcessingStrategy
21  {
22  
23      public void configureProcessors(List<MessageProcessor> processors,
24                                      StageNameSource nameSource,
25                                      MessageProcessorChainBuilder chainBuilder,
26                                      MuleContext muleContext);
27  
28      public interface StageNameSource
29      {
30          String getName();
31      }
32  
33  }