BusEventListener.java :  » ESB » celtix-1.0 » org » objectweb » celtix » Java Open Source

Java Open Source » ESB » celtix 1.0 
celtix 1.0 » org » objectweb » celtix » BusEventListener.java
package org.objectweb.celtix;

import java.util.*;


/**
 * Should be implemented by an object that wants to receive bus events.
 */
public interface BusEventListener extends EventListener {
    /**
     * Invoked when a bus event occurs.
     * The implementation of this method should return as soon as possible,
     * to avoid blocking its event processor.
     * @param e The <code>BusEvent</code> to be processed.
     * @throws BusException If there is an error processing event.
     */
    void processEvent(BusEvent e) throws BusException;
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.