org.ogf.graap.wsag.wsrf.impl
Class AgreementAcceptanceCapability

java.lang.Object
  extended by org.apache.muse.core.AbstractCapability
      extended by org.apache.muse.ws.resource.impl.AbstractWsResourceCapability
          extended by org.ogf.graap.wsag.wsrf.WSAG4JCapability
              extended by org.ogf.graap.wsag.wsrf.impl.AgreementAcceptanceCapability
All Implemented Interfaces:
org.apache.muse.core.Capability, org.apache.muse.core.Initialization, org.apache.muse.core.InitializationParameters, org.apache.muse.core.Shutdown, org.apache.muse.ws.resource.WsResourceCapability

public class AgreementAcceptanceCapability
extends WSAG4JCapability

Implementation of the WS-Agreement Acceptance port type.

Author:
Oliver Waeldrich

Constructor Summary
AgreementAcceptanceCapability()
           
 
Method Summary
 AgreementAcceptanceOutputType acceptAgreement(AcceptAgreementInputDocument input)
          Notification of an agreement offer acceptance.
 QName[] getPropertyNames()
          This port type does not implement any resource properties.
 AgreementAcceptanceOutputType rejectAgreement(RejectAgreementInputDocument input)
          Notification of an agreement offer rejection.
 
Methods inherited from class org.ogf.graap.wsag.wsrf.WSAG4JCapability
toElement, toElementArray
 
Methods inherited from class org.apache.muse.ws.resource.impl.AbstractWsResourceCapability
createGettersAndSetters, deleteProperty, getGetter, getProperty, getPropertyElements, getSetter, getWsResource, initialize, insertProperty, invokeMethod, setResource, updateProperty
 
Methods inherited from class org.apache.muse.core.AbstractCapability
getActions, getCapabilityURI, getEnvironment, getInitializationParameter, getInitializationParameters, getLog, getMessageHandler, getPersistence, getResource, hasBeenInitialized, hasBeenShutdown, initializeCompleted, prepareShutdown, setCapabilityURI, setEnvironment, setInitializationParameters, setLog, setMessageHandler, setMessageHandlers, setPersistence, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.muse.core.Capability
getActions, getCapabilityURI, getEnvironment, getLog, getMessageHandler, getPersistence, getResource, initializeCompleted, prepareShutdown, setCapabilityURI, setEnvironment, setLog, setMessageHandlers, setPersistence
 
Methods inherited from interface org.apache.muse.core.Initialization
hasBeenInitialized
 
Methods inherited from interface org.apache.muse.core.InitializationParameters
getInitializationParameter, getInitializationParameters, setInitializationParameters
 
Methods inherited from interface org.apache.muse.core.Shutdown
hasBeenShutdown, shutdown
 

Constructor Detail

AgreementAcceptanceCapability

public AgreementAcceptanceCapability()
Method Detail

getPropertyNames

public QName[] getPropertyNames()
This port type does not implement any resource properties.

Overrides:
getPropertyNames in class org.apache.muse.ws.resource.impl.AbstractWsResourceCapability
Returns:
the WSRF resource properties QNames

acceptAgreement

public AgreementAcceptanceOutputType acceptAgreement(AcceptAgreementInputDocument input)
                                              throws AgreementFactoryFault,
                                                     org.apache.muse.ws.resource.faults.ResourceUnknownFault,
                                                     org.apache.muse.ws.resource.faults.ResourceUnavailableFault
Notification of an agreement offer acceptance.

Parameters:
input - the input document
Returns:
the response document
Throws:
AgreementFactoryFault - exception calling the acceptance handler
org.apache.muse.ws.resource.faults.ResourceUnknownFault - the referenced resource is not known
org.apache.muse.ws.resource.faults.ResourceUnavailableFault - the referenced resource is unavailable

rejectAgreement

public AgreementAcceptanceOutputType rejectAgreement(RejectAgreementInputDocument input)
                                              throws AgreementFactoryFault,
                                                     org.apache.muse.ws.resource.faults.ResourceUnknownFault,
                                                     org.apache.muse.ws.resource.faults.ResourceUnavailableFault
Notification of an agreement offer rejection.

Parameters:
input - the input document
Returns:
the response document
Throws:
AgreementFactoryFault - exception calling the acceptance handler
org.apache.muse.ws.resource.faults.ResourceUnknownFault - the referenced resource is not known
org.apache.muse.ws.resource.faults.ResourceUnavailableFault - the referenced resource is unavailable


Copyright © 2008-2012. All Rights Reserved.