Hi,

I assume there are no objections and will go ahead to commit the changes. The return types will be Service<?> and Reference<?>.

Thanks,
Raymond

----- Original Message ----- From: "Jim Marino" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, September 02, 2006 1:53 AM
Subject: Re: Enforce the return type for BindingBuilder?


Fine with me except the return types should be generified.

Jim

On Sep 1, 2006, at 10:07 AM, Raymond Feng wrote:

Hi,

The BindingBuilder SPI returns SCAObject instead of Service or Reference for the build() methods. Should we make the return type more specific? If we agree, I can make the changes.

Thanks,
Raymond

The new interace will look like the following:

public interface BindingBuilder<B extends Binding> {

Service build(CompositeComponent parent, BoundServiceDefinition<B> boundServiceDefinition, DeploymentContext deploymentContext);

Reference build(CompositeComponent parent, BoundReferenceDefinition<B> boundReferenceDefinition, DeploymentContext deploymentContext);
}

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to