org.hudsonci.utils.event
Interface EventProcessor<ContextType>

All Known Implementing Classes:
EventProcessorSupport

public interface EventProcessor<ContextType>

Manages dispatching events to appropriate EventHandler instances.

Since:
2.1.0
Author:
Jason Dillon

Method Summary
 void init(ContextType context)
          Initializes all EventHandler instances.
 void process(Object event)
          Delegates to registered EventHandler which accepts the event, or the default handler if non accept.
 

Method Detail

init

void init(ContextType context)
Initializes all EventHandler instances.


process

void process(Object event)
             throws Exception
Delegates to registered EventHandler which accepts the event, or the default handler if non accept.

Throws:
Exception


Copyright © 2004-2012 Hudson. All Rights Reserved.