public class StandardActionHandlerRegistry extends Object implements IActionHandlerRegistry
| Constructor and Description |
|---|
StandardActionHandlerRegistry() |
| Modifier and Type | Method and Description |
|---|---|
IActionHandler[] |
getActionHandlers()
A collection of all registered
IActionHandler instances. |
IActionHandler |
getDefaultHandler() |
IActionHandler |
lookupActionHandler(COSName actionType)
The
IActionHandler for the specified actionType. |
void |
registerActionHandler(IActionHandler handler)
Register an
IActionHandler. |
void |
registerDefaultHandler(IActionHandler handler) |
void |
unregisterActionHandler(IActionHandler handler)
Unregister an
IActionHandler. |
public IActionHandler[] getActionHandlers()
IActionHandlerRegistryIActionHandler instances.getActionHandlers in interface IActionHandlerRegistryIActionHandler instances.public IActionHandler getDefaultHandler()
public IActionHandler lookupActionHandler(COSName actionType)
IActionHandlerRegistryIActionHandler for the specified actionType.lookupActionHandler in interface IActionHandlerRegistryactionType - The type of action to be executed, for example /JavaScriptIActionHandler able to process an action definition
of the specified type.public void registerActionHandler(IActionHandler handler)
IActionHandlerRegistryIActionHandler.registerActionHandler in interface IActionHandlerRegistryhandler - The new handlerpublic void registerDefaultHandler(IActionHandler handler)
public void unregisterActionHandler(IActionHandler handler)
IActionHandlerRegistryIActionHandler.unregisterActionHandler in interface IActionHandlerRegistryhandler - The IActionHandler to be unregistered.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.