org.ogf.graap.wsag.server.actions
Class AbstractGetTemplateAction
java.lang.Object
org.ogf.graap.wsag.server.actions.AbstractGetTemplateAction
- All Implemented Interfaces:
- IActionHandler, IGetTemplateAction
- Direct Known Subclasses:
- SampleGetTemplateAction, VelocityAgreementTemplateAction
public abstract class AbstractGetTemplateAction
- extends Object
- implements IGetTemplateAction
Abstract base class for get template actions.
- Author:
- Oliver Waeldrich
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractGetTemplateAction
public AbstractGetTemplateAction()
getHandlerContext
public IActionHandlerContext getHandlerContext()
- Returns the context of this action handler.
- Specified by:
getHandlerContext
in interface IActionHandler
- Returns:
- Returns the context of this action handler.
setHandlerContext
public void setHandlerContext(IActionHandlerContext context)
- Sets the context for this action handler.
Sets the context for this action handler.
- Specified by:
setHandlerContext
in interface IActionHandler
- Parameters:
context
- Sets the context for this handler instance. A handler uses the context i.e. to look up the
handler configuration during initialization.- See Also:
IActionHandlerContext
initialize
public void initialize()
throws ActionInitializationException
- Default implementation of action initialization. Subclasses may overwrite this
method in order to provide a custom initialization of a handler.
Initializes an action handler. This method is called when a agreement factory
action initializes its action handlers. It is called once during the the engine initialization.
- Specified by:
initialize
in interface IActionHandler
- Throws:
ActionInitializationException
- Indicates an error during handler initialization.
Copyright © 2008-2012. All Rights Reserved.