org.ogf.graap.wsag.server.actions
Class AbstractNegotiationAction
java.lang.Object
org.ogf.graap.wsag.server.actions.AbstractNegotiationAction
- All Implemented Interfaces:
- IActionHandler, INegotiationAction
- Direct Known Subclasses:
- NegotiatePendingAgreementAction, NegotiationUnsupportedAction, Sample1NegotiateAgreementAction, Sample2NegotiateAgreementAction, SampleNegotiateAction
public abstract class AbstractNegotiationAction
- extends Object
- implements INegotiationAction
AbstractCreateAgreementAction
Abstract base class for agreement creation actions.
- Author:
- Oliver Waeldrich
, Oliver Waeldrich
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNegotiationAction
public AbstractNegotiationAction()
getHandlerContext
public IActionHandlerContext getHandlerContext()
- Returns the context of this action handler.
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
- - 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
Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.