felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Pfaff (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-2943) Component generated by @SlingServlet does not match default settings of @Component
Date Thu, 05 May 2011 13:05:03 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029314#comment-13029314

Mike Pfaff commented on FELIX-2943:

Cool, thanks! :)

I just saw another thing which might be related: SlingServletComponentTag tries to set immediate
to true (unless i'm misunderstanding something), but currently this is not applied and the
components are still registered as delayed.

> Component generated by @SlingServlet does not match default settings of @Component
> ----------------------------------------------------------------------------------
>                 Key: FELIX-2943
>                 URL: https://issues.apache.org/jira/browse/FELIX-2943
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven SCR Plugin
>    Affects Versions: scr annotations 1.5.0
>         Environment: Maven 3.0.2 / Felix Framework Bundle 3.0.2 / CQ 5.3 (No HF, no FP)
>            Reporter: Mike Pfaff
>            Assignee: Carsten Ziegeler
>             Fix For: scr annotations 1.6.0
> Using this annotation
> {code}
> @SlingServlet(
>         paths = "/my/cool/path"
> )
> {code}
> the auto-generated component shows up unexpectedly in the configMgr dropdown. Looking
at the generated metatype.xml one can also see that the servlet is listed there as configurable.
> Looking at the JavaDoc comment of @SlingServlets generateComponent() i had expected that
a default (= empty) @Component annotation would be created, which of course has metatype =
false as a default. This unfortunately does not seem to be the case, causing our configMgr
dropdown to be flooded with config entries for all our (non-configurable) servlets.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message