What about the following methods?
getReferenceInterfaceContract()
getComponentReferenceInterfaceContract()
getBindingInterfaceContract()
They match the interface names we have for the assembly model as follows:
ComponentReference: The component-level reference configuration
Reference: The componentType-level reference definition
Binding: The binding configuration
For RuntimeEndpoint, these methods will be:
getServiceInterfaceContract()
getComponentServiceInterfaceContract()
getBindingInterfaceContract()
Raymond
--------------------------------------------------
From: "Simon Laws" <[email protected]>
Sent: Tuesday, November 17, 2009 11:52 AM
To: <[email protected]>
Subject: Re: [2.x] InterfaceContracts on the
RuntimeEndpoint/RuntimeEndpointReference
Hi Raymond
I think the mapping as you explain it makes sense although I don't
think that the SPI naming is as clear as it could be. If we are going
to maintain the three methods on the Endpoint/Endpoint reference I
think we should switch to being more explicit otherwise we will be
having this conversations again. For example, on the reference side...
getComponentTypeReferenceInterfaceContract()
getComponentReferenceInterfaceContract()
getReferenceBindingInterfaceContract()
Simon