org.ikasan.framework.component.sequencing
Class EventAggregatingSequencer

java.lang.Object
  extended by org.ikasan.framework.component.sequencing.EventAggregatingSequencer
All Implemented Interfaces:
Sequencer, FlowComponent

Deprecated. - use the Sequencer interface directly

public class EventAggregatingSequencer
extends Object
implements Sequencer

Sequencer implementation which aggregates incoming events into a single event. The associated aggregation may return one event, or 'null' if the aggregation criteria has not been met.

Author:
Ikasan Development Team

Field Summary
protected  EventAggregator aggregator
          Deprecated. Implementation of an aggregator
 
Constructor Summary
EventAggregatingSequencer(EventAggregator aggregator)
          Deprecated. Constructor
 
Method Summary
 List<Event> onEvent(Event event, String moduleName, String componentName)
          Deprecated. Returns an ordered List for forwarding downstream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aggregator

protected EventAggregator aggregator
Deprecated. 
Implementation of an aggregator

Constructor Detail

EventAggregatingSequencer

public EventAggregatingSequencer(EventAggregator aggregator)
Deprecated. 
Constructor

Parameters:
aggregator - The event aggregator to use
Method Detail

onEvent

public List<Event> onEvent(Event event,
                           String moduleName,
                           String componentName)
                    throws SequencerException
Deprecated. 
Description copied from interface: Sequencer
Returns an ordered List for forwarding downstream

Specified by:
onEvent in interface Sequencer
Parameters:
event - The event to perform sequencing on
Returns:
List for forwarding downstream in order
Throws:
SequencerException - Exception if we could not sequence


Copyright © 2007-2012 Ikasan. All Rights Reserved.