1 package org.objectweb.celtix.bus.management; 2 3 import org.objectweb.celtix.BusEvent; 4 import org.objectweb.celtix.BusEventListener; 5 import org.objectweb.celtix.BusException; 6 7 8 9 /** 10 * An interface that should be implemented by an object 11 * that processes <code>InstrumentationEvents</code>. 12 */ 13 public interface InstrumentationEventListener extends BusEventListener { 14 /** 15 * Invoked when a <code>InstrumentationEvent</code> is received by this listener. 16 * 17 * @param event The <code>BusEvent</code> to process. 18 * 19 * @throws BusException If there is an error while handling the event. 20 */ 21 void processEvent(BusEvent event) throws BusException; 22 } 23