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()
           
 IAgreementFactoryContext getFactoryContext()
           
 void initialize()
          Initializes the action.
 void setActionConfiguration(ImplementationConfigurationType configuration)
           
 void setFactoryContext(IAgreementFactoryContext 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

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

setFactoryContext

void setFactoryContext(IAgreementFactoryContext 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


Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.