public class BasicActionManagerPlugin extends DmpServletPlugin implements Runnable, ActionManagerIF
cache, pluginConfig, pluginManager, servlet| Constructor and Description |
|---|
BasicActionManagerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionComplete(ActionHandler actionHandler)
Again, this method can be used by an "action handler wrapper" to
notify the action manager when an action handler exits its run() method
normally.
|
void |
actionFailed(ActionHandler actionHandler,
Exception ex)
An action handler has thrown an exception (which it shouldn't really).
|
void |
init()
Derived classes should perform any initialization logic required.
|
void |
preInit() |
void |
registerAction(ActionFactory<?,?> factory)
Registers a factory for a particular action trigger.
|
void |
run() |
void |
shutdown()
When the servlet is destroyed, the shutdown() method is called on all plugins.
|
void |
start()
After all plugins are initialized, the start method is called on all plugins
in the same implied order.
|
getID, getPluginName, setManagerAndConfigpublic void registerAction(ActionFactory<?,?> factory) throws org.dmd.util.exceptions.ResultException
ActionManagerIFregisterAction in interface ActionManagerIFfactory - the factory that creates handlers for the actionorg.dmd.util.exceptions.ResultException - if we already have a registered handle for the actionpublic void actionFailed(ActionHandler actionHandler, Exception ex)
actionFailed in interface ActionManagerIFactionHandler - the action handler that failed.ex - the exception that was caught.public void actionComplete(ActionHandler actionHandler)
ActionManagerIFactionComplete in interface ActionManagerIFpublic void preInit()
throws org.dmd.util.exceptions.ResultException,
org.dmd.dmc.DmcValueException
preInit in class DmpServletPluginorg.dmd.util.exceptions.ResultExceptionorg.dmd.dmc.DmcValueExceptionpublic void init()
throws org.dmd.util.exceptions.ResultException,
org.dmd.dmc.DmcValueException,
org.dmd.dmc.rules.DmcRuleExceptionSet,
org.dmd.dmc.DmcNameClashException
DmpServletPlugininit in class DmpServletPluginorg.dmd.dmc.rules.DmcRuleExceptionSetorg.dmd.dmc.DmcNameClashExceptionorg.dmd.util.exceptions.ResultExceptionorg.dmd.dmc.DmcValueExceptionpublic void start()
throws org.dmd.util.exceptions.ResultException,
org.dmd.dmc.DmcValueException
DmpServletPluginstart in class DmpServletPluginorg.dmd.util.exceptions.ResultExceptionorg.dmd.dmc.DmcValueExceptionpublic void shutdown()
DmpServletPluginshutdown in class DmpServletPluginCopyright © 2019. All rights reserved.