org.glassfish.kernel.event
Class EventsImpl
java.lang.Object
org.glassfish.kernel.event.EventsImpl
- All Implemented Interfaces:
- Events
@Service
public class EventsImpl
- extends Object
- implements Events
Simple implementation of the events dispatching facility.
- Author:
- Jerome Dochez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventsImpl
public EventsImpl()
register
public void register(EventListener listener)
- Specified by:
register in interface Events
send
public void send(EventListener.Event event)
- Specified by:
send in interface Events
send
public void send(EventListener.Event event,
boolean asynchronously)
- Specified by:
send in interface Events
unregister
public boolean unregister(EventListener listener)
- Specified by:
unregister in interface Events
Copyright © 2012. All Rights Reserved.