Hello All

In Felix DM, can I publish a certain object as several services / interfaces, but each with different properties? Calling setInterface() multiple times does not seem to do the trick. Calling setInterface(String[],Dictionary) will assign the same properties to each.

If I use several interface (with that last call), can I change the properties in init(). I see I can do the following, but that changes the one set of properties for all interfaces

public void init(Component c){
  ...
  Dictionary<String, Object> props = c.getServiceProperties();
  props.put(someKey, someValue);
  c.setServiceProperties(props);
}


Unrelated: can I use component as a dependency without publishing it as a service? Like so:

Thanks & Regards Philipp

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to