Hi,
Oh I see, I misunderstood your previous mail. So, as you're using ManagedService (and not ManagedServiceFactory), use: @Property @ServiceProperty private String myProp; Regards, Clement On 19.07.2011, at 11:38, jie yan wrote: > On Tue, Jul 19, 2011 at 3:40 PM, Clement Escoffier < > clement.escoff...@gmail.com> wrote: > >> Hi, >> >> >> >> On 16.07.2011, at 16:02, jie yan wrote: >> >>> I configured some ipojo components by FileInstall, as following: >>> >>> 1) install ConfigAdmin, FileInstall; >>> 2) set the managedservice attribute, >> @Component(managedservice="com-pid"); >>> 3) create com-pid.cfg file inside /load directory >>> >>> In this way, I successfully configured some components except one >>> javax.servlet.Filter implementation. >>> >>> The only difference I found out is, the field of Filter component to be >>> configured is @ServiceProperty, while the fields of other components all >> is >>> @Property. >>> >>> Is it the real reason? >> >> No, that should not matter. Did you try to add 'immediate=true' to your >> @Component ? >> > I tried, but failed again. > > Now, component defination is by annotation, instance creation is by > meta.xml, and component configuration is by FileInstall *.cfg. > Maybe it's because of the complex order of instance creation, configuration > and update? I'll debug into felix more deeply. > > Regards, > drhades > >> >> Regards, >> >> Clement >> >> >>> >>> Regards, >>> drhades >> >>