Hi,

On Tue, Apr 26, 2011 at 12:03 AM, Cristiano Gavião <cvgav...@gmail.com> wrote:
> ....I would like to use Configuration Admin Service with Declared Service. 
> But I
> couldn't find yet a updated tutorial with a good example....

If your goal is to create Declarative Services that have configuration
parameters, the maven-scr-plugin [1] makes things very easy.

See [2] for an example which uses a number of @Property annotations
for configurable parameters.

-Bertrand

[1] http://felix.apache.org/site/apache-felix-maven-scr-plugin.html

[2] 
http://svn.apache.org/repos/asf/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/SlingMainServlet.java

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to