01: /*
02: * Copyright 2006 The JA-SIG Collaborative. All rights reserved. See license
03: * distributed with this file and available online at
04: * http://www.uportal.org/license.html
05: */
06: package org.jasig.portal.events;
07:
08: /**
09: * Simple Implementation of EventListener that calls the appropriate
10: * <code>EventHandler</code> without extra processing.
11: *
12: * @author Scott Battaglia
13: * @version $Revision: 36546 $ $Date: 2006-04-11 12:18:23 -0700 (Tue, 11 Apr 2006) $
14: * @since 2.6
15: *
16: */
17: public final class SimpleEventListener extends AbstractEventListener {
18:
19: protected void onApplicationEventInternal(final PortalEvent event,
20: final EventHandler handler) {
21: handler.handleEvent(event);
22: }
23: }
|