sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Windszus (JIRA)" <>
Subject [jira] [Commented] (SLING-7624) Add OSGi7 component property annotations for Servlet and Filter
Date Mon, 14 May 2018 15:23:00 GMT


Konrad Windszus commented on SLING-7624:

I am trying to extract the prefix to a dedicated single element annotation. That would also
make it possible to convert {{SlingServletByPath}} to a single element annotation. The problem
is the class name as we need to generate a property called {{sling.servlet.path}}. Therefore
we could either name that annotation
# {{SlingServletPath}} (not a very nice name, imho, as this doesn't really tell that this
actually registers this component as Sling servlet) or 
# {{ServletPath}} with {{PREFIX_= "sling."}} or
# {{Path}} with {{PREFIX_= "sling.servlet"}}
None of those options are particularly appealing to me.
[~cziegeler] WDYT?

> Add OSGi7 component property annotations for Servlet and Filter
> ---------------------------------------------------------------
>                 Key: SLING-7624
>                 URL:
>             Project: Sling
>          Issue Type: New Feature
>          Components: Servlets
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
> Previously there were annotations hosted at Felix for Sling Servlets/Filters as custom
Felix SCR annotations (
With OSGi R7 and DS 1.4 component property annotations are specified. Sling should provide
those annotations in a dedicated new artifact. Compare also with FELIX-5396.
> Those are supported in the upcoming bnd 4.0 (

This message was sent by Atlassian JIRA

View raw message