org.apache.cocoon.caching.validity
Class NameValueEventFactory

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

public class NameValueEventFactory
extends Object
implements EventFactory

Factory for NameValueEvents


Field Summary
static String EVENT_NAME_PARAM
          Parameter key 'event-name'.
static String EVENT_VALUE_PARAM
          Parameter key 'event-value'.
 
Constructor Summary
NameValueEventFactory()
           
 
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

EVENT_VALUE_PARAM

public static final String EVENT_VALUE_PARAM
Parameter key 'event-value'.

See Also:
Constant Field Values
Constructor Detail

NameValueEventFactory

public NameValueEventFactory()
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.