nz.ac.auckland.syllabus.hooks.EventHookInitializer.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of syllabus-core Show documentation
Show all versions of syllabus-core Show documentation
Overly complicated protocol-agnostic transmission layer for an event-based API implementation
package nz.ac.auckland.syllabus.hooks
import nz.ac.auckland.syllabus.events.EventHandler
/**
* User: marnix
* Date: 3/04/13
* Time: 1:11 PM
*
* Is an interface that will be invoked when present on EventHook instance.
*/
interface EventHookInitializer {
/**
* Called with a list of all event handlers that might need some sort of initialization
*
* @param eventHandlerList is a list of event handlers
*/
public void initializeHook(List eventHandlerList) throws EventHookException
}