KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > cms > ha > InvalidationListener


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Forums JBoss Portlet *
6  * *
7  * Distributable under LGPL license. *
8  * See terms of license at gnu.org. *
9  * *
10  *****************************************/

11 package org.jboss.portal.cms.ha;
12
13 import org.apache.slide.event.EventCollectionListener;
14 import org.apache.slide.event.EventCollection;
15 import org.apache.slide.event.VetoException;
16 import org.jboss.portal.cms.CMS;
17
18 /**
19  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
20  * @version $Revision: 1.1 $
21  */

22 public class InvalidationListener
23    implements EventCollectionListener
24 {
25    public void vetoableCollected(EventCollection collection) throws VetoException
26    {
27       ((InvalidatableCMS)CMS.getCMS()).vetoableCollected(collection);
28    }
29    public void collected(EventCollection collection)
30    {
31       ((InvalidatableCMS)CMS.getCMS()).collected(collection);
32    }
33 }
34
Popular Tags