Simon Laws wrote:
On Dec 10, 2007 8:54 PM, Raymond Feng <[EMAIL PROTECTED]> wrote:
Hi,
The ComponentService represents the configuration for a service for a
component while Service is for the service at componentType level. The
method ComponentService.getService() can be used to find the Service
corresponding to the component service.
IMO, ComponentService (w/ configured interface, policy, etc) should be
used
to do the matching.
Thanks,
Raymond
----- Original Message -----
From: "Simon Laws" <[EMAIL PROTECTED]>
To: "tuscany-dev" <[email protected]>
Sent: Monday, December 10, 2007 12:15 PM
Subject: matchBinding parameter type
BindingUtil.matchBinding takes a ComponentService to make good on the
information required by the OptimizableBinding interface. If we still
need
the information provided by the service parameter can we make it a
Service
instead of a ComponentService?
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I that case do we need a separate method for matching composite level
services and references which don't belong to a component?
Simon
Does the spec allow to wire a reference to a composite service?
Maybe...
Seems odd to me.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]