Hi Dmitry,
On 2/5/2013 11:20 AM, Dmitry Sklyut wrote:
Hello
Scott,
Can you please give us a quick overview on how and when ECF
intercepts service creation and gives client a proxy?
On remote service host side, ECF has a service registry hook such
that if the service is registered as a remote service (i.e. with the
appropriate OSGi service properties), AND the the remote service
config is of ECF type (identifying an ECF provider as the
appropriate exporter), the service is exported as a remote service
by the ECF remote service admin impl. It is also published for
discovery. This all happens as part of the registerService call
(again given the presence of the appropriate properties).
On consumer side, when a remote service is discovered (via the
discovery mechanism), the Remote Service Admin implementation
importService method is called to import the remote service. Part
of the import is the creation of a proxy for the remote service,
followed by the addition to the consumer's service registry of that
proxy. ECF's remote service admin only imports remote services that
were exported via ECF remote services.
Scott
I think there is a very easy way out of this situation, I
just would like a bit of background to validate the "easy"
button.
Thanks
Dmitry
On Tuesday, February 5, 2013 at 1:08
PM, Scott Lewis wrote:
Hi Glyn and Geminers,
I looked at the forum posting that Glyn points to, and
created a reply [1].
My current take on things is that for some reason I
don't yet understand, Gemini's importer is being used to
create proxies..rather than ECF's Remote Service Admin
implementation...and so the proxy being created is not
as expected by the client code (i.e. it doesn't
implement IRemoteServiceProxy...which is an ECF
interface implemented by all proxies). But I don't know
what Gemini is doing (yet), so am not sure.
Just to introduce myself to this list, I'm the ECF
project lead and am largely responsible for ECF's
implementation of OSGi remote services and Remote
Service Admin. There's documentation for things
starting here [2]. I've just joined this list
(gemini-dev), but my 'home list' is ecf-dev :).
Hopefully we can jointly diagnose and fix this user's
use case. Is there someone available on this list that
is familiar with Gemini's remote service importer?
Thanks,
Scott
[1]
http://www.eclipse.org/forums/index.php/mv/msg/452390/1007392/#msg_1007392
[2] http://wiki.eclipse.org/ECF#OSGi_Remote_Services
On 2/5/2013 8:41 AM, Glyn Normington wrote:
An issue has cropped up when Gemini Blueprint is
used with ECR. I currently don't have time to dig
into. A simple testcase has been provided on github,
so if you are a bit of an expert on Gemini Blueprint,
or would like to become more expert, please dive in.
I'm happy to discuss findings of course.
_______________________________________________
virgo-dev mailing list
_______________________________________________
virgo-dev mailing list
virgo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/virgo-dev
|