I second that... that's my main grief about merlin, and the reason I started work on service registry.

And OSGi "bundle" (that's the term for the deployment unit) can provide several services: a "BundleActivator" class inside the bundle registers the provided services (there can be several) when the bundle is loaded. Registering a service consists in registering an instance of the service interface with additionnal properties that describe the service. The lookup mechanism then allows to select a particular implementation of the service depending on property values, by using a simple LDAP-like query language.



Hmm, I like this. This is something that is still missing from Avalon
IMHO: richer service lookup semantics. I've had several instances where
I needed this.

Unico


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



Reply via email to