You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "J.W. Janssen (JIRA)" <ji...@apache.org> on 2014/02/12 10:04:27 UTC

[jira] [Commented] (FELIX-2137) Make it possible to set servlet/filter name

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

J.W. Janssen commented on FELIX-2137:
-------------------------------------

RFC-189 (HTTP service update) addresses this issue; making it a sub-task.

> Make it possible to set servlet/filter name
> -------------------------------------------
>
>                 Key: FELIX-2137
>                 URL: https://issues.apache.org/jira/browse/FELIX-2137
>             Project: Felix
>          Issue Type: Sub-task
>          Components: HTTP Service
>    Affects Versions: http-2.0.4
>            Reporter: Sten Roger Sandvik
>            Assignee: Sten Roger Sandvik
>
> Setting the name of a servlet is useful in some cases. Right now it is setting the servlet name as "servlet-#" where # is a instance number. The same as filter. Setting the name of a servlet/filter could be done in two ways:
> * Setting a service property (lile "name") -> only possible when using whiteboard implementation.
> * Setting it as a special init property -> can be done either using whiteboard or HttpService. Probably the best approach.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)