Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [equinox-dev] DS and references without an interface


I don't know if you're tight to DS, however iPOJO provides a handler
supporting this kind of interactions (white-board pattern).
The white-board pattern handler
( allows a
component to track services based on a filter without necessary specifying
the object class (service interface). 
We use this handler in a device access-like framework to track "marked"
services (i.e. service with properties matching the specified filter).



-----Original Message-----
From: equinox-dev-bounces@xxxxxxxxxxx
[mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Alin Dreghiciu
Sent: lundi 21 juillet 2008 23:48
To: Equinox - General; OSGi Alliance - General
Subject: [equinox-dev] DS and references without an interface

Hi guys,

Is there any way to specify in Declarative Services a reference
without a type, just with a filter (target)?
My use case is that I want all services that have certain service
properties regardless the type of the service.

Alin Dreghiciu - New Energy for OSS Communities - Open
Participation Software. - New Energy for Java - Domain Driven Development. - New Energy for Projects - Great People
working on Great Projects at Great Places
equinox-dev mailing list

Back to the top