org.ogf.graap.wsag.server.actions.impl
Class NegotiationUnsupportedAction

java.lang.Object
  extended by org.ogf.graap.wsag.server.actions.AbstractNegotiationAction
      extended by org.ogf.graap.wsag.server.actions.impl.NegotiationUnsupportedAction
All Implemented Interfaces:
IActionHandler, INegotiationAction

public class NegotiationUnsupportedAction
extends AbstractNegotiationAction

NegotiationUnsupportedAction

Author:
Oliver Waeldrich

Constructor Summary
NegotiationUnsupportedAction()
           
 
Method Summary
 void initialize()
           
 NegotiationOfferType[] negotiate(NegotiationOfferType quote, Map<String,Object> context)
          Negotiates an agreement offer.
 
Methods inherited from class org.ogf.graap.wsag.server.actions.AbstractNegotiationAction
getHandlerContext, getNegotiationContext, setHandlerContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NegotiationUnsupportedAction

public NegotiationUnsupportedAction()
Method Detail

initialize

public void initialize()
                throws ActionInitializationException

Specified by:
initialize in interface IActionHandler
Overrides:
initialize in class AbstractNegotiationAction
Throws:
ActionInitializationException - indicates an error during initialization

negotiate

public NegotiationOfferType[] negotiate(NegotiationOfferType quote,
                                        Map<String,Object> context)
                                 throws NegotiationException
Negotiates an agreement offer. For each negotiation offer, one or more counter proposals may be created. A negotiation request can comprise multiple negotiation offers. These offers are processed sequentially, sharing a common invocation context.

Parameters:
quote - the negotiation offer to process
context - the shared invocation context
Returns:
the generated counter offers
Throws:
NegotiationException - indicates an error during the negotiation process


Copyright © 2008-2012. All Rights Reserved.