org.ogf.graap.wsag.server.actions
Interface IAction

All Known Implementing Classes:
AgreementFactoryAction

public interface IAction

Defines an agreement factory action. An agreement factory action is an action that is executed by an agreement factory. This can be the creation of an agreement template, the instantiation of an agreement, or the negotiation of an offer.

Author:
Oliver Waeldrich
See Also:
AbstractGetTemplateAction, AbstractNegotiationAction, AbstractCreateAgreementAction

Method Summary
 ImplementationConfigurationType getActionConfiguration()
           
 WsagEngine getEngine()
          Returns the WSAG4J engine instance for this handler.
 AgreementFactoryContext getFactoryContext()
           
 void initialize()
          Initializes the action.
 void setActionConfiguration(ImplementationConfigurationType configuration)
           
 void setEngine(WsagEngine engine)
          Sets the WSAG4J engine instance for this handler.
 void setFactoryContext(AgreementFactoryContext context)
           
 

Method Detail

initialize

void initialize()
                throws Exception
Initializes the action.

Throws:
Exception - indicates an error during the initialization of this action. This causes that the action is not loaded by the system.

getFactoryContext

AgreementFactoryContext getFactoryContext()
Returns:
the agreement factory context of this action

setFactoryContext

void setFactoryContext(AgreementFactoryContext context)
Parameters:
context - sets the agreement factory context of this action

getActionConfiguration

ImplementationConfigurationType getActionConfiguration()
Returns:
configuration of an action

setActionConfiguration

void setActionConfiguration(ImplementationConfigurationType configuration)
Parameters:
configuration - configuration of an action

getEngine

WsagEngine getEngine()
Returns the WSAG4J engine instance for this handler.

Returns:
the engine instance

setEngine

void setEngine(WsagEngine engine)
Sets the WSAG4J engine instance for this handler.

Parameters:
engine - the engine instance


Copyright © 2008-2012. All Rights Reserved.