Hi, On 28.03.2012, at 11:59, Rémi Druilhe wrote:
> Hi, > > I am using the API of iPOJO to instrospect my components and I'd like to > filter them using static properties on components (not on services). Is there > a way to do this without declaring an attribute "field" in my metadata ? > Something like that: Unfortunately, configuration properties has to be found to either a field or a method. It looks to me, you're trying to detect components according to a specific 'shape'. You should use a handler to achieve it and then check the component using this handler. Regards, Clement > > <component classname="myClass" name="my-name"> > ... > > <properties> > <property name="toto" value="tata" ... /> > </properties> > </component> > > <instance component="my-name"/> > > Thanks. > > Regards. > -- > *DRUILHE Remi* > *PhD Student @ Orange Labs* *MAPS/SHINE/MADE* > Tel : +33 (0)4 76 76 24 27 > Email: [email protected] <mailto:[email protected]> > R&D Grenoble 28 chemin du Vieux Chêne - BP98 38243 Meylan Cedex - France --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

