org.ogf.graap.wsag.server.api
Interface AgreementAcceptanceFactory

All Known Implementing Classes:
AgreementAcceptanceFactoryImpl, RestAgreementAcceptanceFactory

public interface AgreementAcceptanceFactory

AgreementAcceptanceFactory Creates a new agreement acceptance instance. A client can register an AgreementAcceptanceHandler with this instance. This handler is notified by the agreement factory whether or not an agreement was accepted.

Author:
Oliver Waeldrich

Field Summary
static String AGREEMENT_ACCEPTANCE_FACTORY
          An agreement acceptance factory is resolved via this key in the factory context of a factory action.
 
Method Summary
 EndpointReferenceType registerAgreementAccetanceListener(AgreementAcceptanceListener handler)
          Registers an agreement acceptance handler with an acceptance instance.
 

Field Detail

AGREEMENT_ACCEPTANCE_FACTORY

static final String AGREEMENT_ACCEPTANCE_FACTORY
An agreement acceptance factory is resolved via this key in the factory context of a factory action.

See Also:
AbstractCreateAgreementAction.getHandlerContext(), IActionHandlerContext.getFactoryContext(), Map.get(Object), Constant Field Values
Method Detail

registerAgreementAccetanceListener

EndpointReferenceType registerAgreementAccetanceListener(AgreementAcceptanceListener handler)
Registers an agreement acceptance handler with an acceptance instance.

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.