org.ow2.util.event.api
Interface IEvent
public interface IEvent
Define the base interface for an event.
As listeners may be executed in concurrency, implementations exposing writable attributes MUST be thread safe.
The event developer MUST implement a security mechanism if the event expose critical values, or references.
- Author:
- missonng
checkPermission
boolean checkPermission(IEventListener eventListener)
- Check whether the event listener has permission to receive this event.
- Parameters:
eventListener - The event listener to check.
- Returns:
- True if the listener has the permission, false otherwise.
Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.