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

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


/**
 * Interface to be implemented by any class acting as a bus event filter.
 * It allows a registered bus listener to filter the events of interest.
 */
public interface BusEventFilter {
    /**
     * Invoked before sending the specified event to the listener.
     * @param e The bus event to be sent
     * @return boolean If <code>true</code>, the event is to be sent to the listener,
     * otherwise <code>false</code>.
     */
    boolean isEventEnabled(BusEvent e);
}
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.