org.openbp.jaspira.plugin
Class ExternalEventModule

java.lang.Object
  extended by org.openbp.jaspira.plugin.EventModule
      extended by org.openbp.jaspira.plugin.ExternalEventModule
All Implemented Interfaces:
JaspiraEventListener
Direct Known Subclasses:
ExternalInteractionModule, ItemBrowserModule, ModelerEventModule

public abstract class ExternalEventModule
extends EventModule

Event module that maintains a reference to its plugin. For larger plugins, it may be useful to put the module(s) into a separate class rather than as inner class of the large plugin (see AbstractPlugin.getExternalEventModuleClasses()).

Author:
Stephan Moritz

Field Summary
 
Fields inherited from class org.openbp.jaspira.plugin.EventModule
EVENT_CONSUMED, EVENT_HANDLED, EVENT_IGNORED, MODULE_POST_GLOBAL, MODULE_PRE_GLOBAL, MODULE_TREE
 
Constructor Summary
ExternalEventModule(Plugin plugin)
          Constructor.
 
Method Summary
 Plugin getPlugin()
          Returns the plugin that owns this module.
 
Methods inherited from class org.openbp.jaspira.plugin.EventModule
eventFired, getEventActionNames, getForeignEventNames, getModuleType, getName, getPriority, handleUnaccountedEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalEventModule

public ExternalEventModule(Plugin plugin)
Constructor.

Parameters:
plugin - The plugin this module is associated with
Method Detail

getPlugin

public Plugin getPlugin()
Returns the plugin that owns this module.



Copyright © 2011. All Rights Reserved.