[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ecf-dev] ServletServerContainer and EndpointDescription
|
Hi Thomas,
On 12/17/2013 5:23 AM, Thomas Calmant wrote:
Hi,
I'm working on an ECF Remote Service provider [1] based on Jabsorb [2].
I've started by implementing the host part, taking the TimeService
Rest example as a model.
Therefore, my JabsorbHostContainer class is inherits from
ServletServerContainer, for simplification. It also implements
IOSGiRemoteServiceContainerAdapter as I need to view all service
properties.
When the IOSGiRemoteServiceContainerAdapter.registerRemoteService(...)
method is called, I generate server-side properties, like the URI(s)
to access the Jabsorb servlet, etc.
The problem is that even the created IRemoteServiceRegistration
contains those properties, the EndpointDescription bean won't contain
them as it has been prepared before in the
org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.exportService(...)
method, and isn't updated afterwards.
Is there a way to add custom properties to the endpoint description bean ?
Yes. We haven't encountered this need before (for a provider to add
custom properties), but it is a straightforward enhancement...with no
API additions/changes required...if I'm understanding fully.
I've created this bug/enhancement to track:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=424262
If this meets the needs here, I'll plan on implementing this addition to
RSA during the coming week.
Scott