Hi,

I am trying to use the Compendium Services managed properties as per
http://www.eclipse.org/gemini/blueprint/documentation/reference/1.0.2.RELEASE/html/compendium.html
to inject changes in configuration across multiple bundles but according to
the spec this is not allowed:

"Do not share the same persistent-id (PID) between multiple bundles or
definitions, as only one of them will receive notifications.
managed-properties relies on org.osgi.service.cm.ManagedService contract
which mandates that each ManagedService instance must be identified with its
own unique PID. Please see the Configuration Admin spec
(http://www.osgi.org/download/r4-v4.2-cmpn-draft-20090310.pdf), specifically
section 104.3 and 104.5"

Is there a common pattern/approach to achieving this, e.g. in my case I have
a property that should turn 'auditing' on or off but this property needs to
be visible across multiple bundles.

Thanks,

Tim



--
View this message in context: 
http://apache-felix.18485.x6.nabble.com/Compendium-Services-managed-properties-and-multiple-bundles-tp5004675.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

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

Reply via email to