Hi, with the hint of yesterday I could get it working: @Component(metatype=true) But thanks to you too. I will have a look at this example =)
Regards, Marco -----Ursprüngliche Nachricht----- Von: Bertrand Delacretaz [mailto:[email protected]] Gesendet: Dienstag, 17. Mai 2011 10:35 An: [email protected] Betreff: Re: Sling, OSGi bundle and annotations Hi. On Mon, May 16, 2011 at 1:21 PM, Marco Dohnke <[email protected]> wrote: > ...Is there any documentation reference where I can find a description how to > build an configurable (Felix mgmt console) OSGi bundle? > ...The current documentation of CQ5/Sling uses annotations like @Service, > @Component and so on. I am not able to get it working with these annotations. See http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/DefaultJobManager.java for an example of a service which uses a number of configuration parameters. -Bertrand
