1 /* 2 * $Id: EventCallback.java 7976 2007-08-21 14:26:13Z dirk.olmes $ 3 * -------------------------------------------------------------------------------------- 4 * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.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.tck.functional; 12 13 import org.mule.umo.UMOEventContext; 14 15 /** 16 * The scope of the Event Callback is to be able to get a component we are using 17 * and to control it. This is especially useful when we have beans configured in 18 * Spring that we need to exercise some form of control on, example setting 19 * properties at runtime instead of in the configuration. 20 */ 21 22 public interface EventCallback 23 { 24 public void eventReceived(UMOEventContext context, Object component) throws Exception; 25 }