org.apache.cocoon.caching.validity
Class NamedEventFactory

java.lang.Object
  extended by org.apache.cocoon.caching.validity.NamedEventFactory
All Implemented Interfaces:
EventFactory

public class NamedEventFactory
extends Object
implements EventFactory

Factory for NamedEvents


Field Summary
static String EVENT_NAME_PARAM
          Parameter key 'event-name'.
 
Constructor Summary
NamedEventFactory()
           
 
Method Summary
 Event createEvent(Parameters params)
          Create an event based on parameter values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_NAME_PARAM

public static final String EVENT_NAME_PARAM
Parameter key 'event-name'.

See Also:
Constant Field Values
Constructor Detail

NamedEventFactory

public NamedEventFactory()
Method Detail

createEvent

public Event createEvent(Parameters params)
                  throws ParameterException
Description copied from interface: EventFactory
Create an event based on parameter values.

Specified by:
createEvent in interface EventFactory
Parameters:
params - arguments to the newly created event.
Returns:
newly created Event
Throws:
ParameterException - if required parameters are missing.


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