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

java.lang.Object
  extended by org.ogf.graap.wsag.wsrf.impl.AgreementAcceptanceFactoryImpl
All Implemented Interfaces:
AgreementAcceptanceFactory

public class AgreementAcceptanceFactoryImpl
extends Object
implements AgreementAcceptanceFactory

Default implementation of an agreement acceptance factory.

Author:
Oliver Waeldrich

Field Summary
 
Fields inherited from interface org.ogf.graap.wsag.server.api.AgreementAcceptanceFactory
AGREEMENT_ACCEPTANCE_FACTORY
 
Constructor Summary
AgreementAcceptanceFactoryImpl(org.apache.muse.core.Resource resource)
           
 
Method Summary
 EndpointReferenceType registerAgreementAccetanceListener(AgreementAcceptanceListener handler)
          Registers an agreement acceptance handler with an acceptance instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgreementAcceptanceFactoryImpl

public AgreementAcceptanceFactoryImpl(org.apache.muse.core.Resource resource)
Parameters:
resource - the web service resource
Method Detail

registerAgreementAccetanceListener

public EndpointReferenceType registerAgreementAccetanceListener(AgreementAcceptanceListener handler)
Description copied from interface: AgreementAcceptanceFactory
Registers an agreement acceptance handler with an acceptance instance.

Specified by:
registerAgreementAccetanceListener in interface AgreementAcceptanceFactory
Parameters:
handler - the handler to register
Returns:
the endpoint reference of the agreement acceptance service
See Also:
org.ogf.graap.wsag.api.client.AgreementFactoryClient#createPendingAgreement(org.ogf.graap.wsag.api.AgreementOffer, EndpointReferenceType)


Copyright © 2008-2012. All Rights Reserved.