1 /* 2 * $Id: ExpressionEnricher.java 20273 2010-11-19 12:52:55Z dirk.olmes $ 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.expression; 12 13 import org.mule.api.MuleMessage; 14 import org.mule.api.NamedObject; 15 16 /** 17 * <code>ExpressionEnricher</code> enriches a message using the extensible mule 18 * expression framework allowing the contribution of additional enrichers. 19 */ 20 public interface ExpressionEnricher extends NamedObject 21 { 22 23 /** 24 * Enriches the message with the object 25 * 26 * @param expression 27 * @param message 28 * @param object 29 */ 30 void enrich(String expression, MuleMessage message, Object object); 31 32 }