Hi,

The self references are created to support the ComponentContext.createSelfReference() in a consistent way as regular references.

In your case, if the binding.jsonrpc is declared under the component, then the component can only be assessed over jsonrpc binding (not even SCA binding). And the component will be exposed as a json-rpc service. So invoking the json-rpc reference handler is the correct behavior from the client side.

Thanks,
Raymond

----- Original Message ----- From: "ant elder" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, May 18, 2007 9:32 AM
Subject: CompositeBuilderImpl.createSelfReferences creates a $self$ reference using the service binding


Debugging TUSCANY-1292 it looks like one part of the problem is that
CompositeBuilderImpl.createSelfReferences creates a new self reference for
each service on a component and adds every binding from that service into
the new reference. That results is a JSON-RPC reference provider get used
which seems strange to me but I don't completely understand what the
createSelfReferences is trying to do. Does anyone understand this more and
know if this is the correct behaviour or not?

  ...ant



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

Reply via email to