org.apache.cocoon.portal.event
Interface Subscriber


Deprecated. Use the Receiver instead.

public interface Subscriber

Subscriber registers its interest in a class of events and filters the events of which it should be notified.

Version:
CVS $Id: Subscriber.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler, Volker Schmitt, Mauro Talevi

Method Summary
 Class getEventType()
          Deprecated. Returns the event type of the event on which the Subscriber is interested.
 Filter getFilter()
          Deprecated. Returns the filter used to select the events in which the subscriber is interested.
 void inform(Event event)
          Deprecated. Callback method informing the Subscriber of the occurence of an event.
 

Method Detail

getEventType

Class getEventType()
Deprecated. 
Returns the event type of the event on which the Subscriber is interested. The event type is encoded by a Class.

Returns:
the Class encoding the event type

getFilter

Filter getFilter()
Deprecated. 
Returns the filter used to select the events in which the subscriber is interested.

Returns:
the Filter

inform

void inform(Event event)
Deprecated. 
Callback method informing the Subscriber of the occurence of an event.

Parameters:
event - the Event of which the Subscriber is informed


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.