[
https://issues.apache.org/jira/browse/ARIES-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16559513#comment-16559513
]
ASF subversion and git services commented on ARIES-1821:
--------------------------------------------------------
Commit 96ce3a2ec84ef5054efe3645e71088198c32e543 in aries-jax-rs-whiteboard's
branch refs/heads/master from [~csierra]
[
https://git-wip-us.apache.org/repos/asf?p=aries-jax-rs-whiteboard.git;h=96ce3a2
]
[ARIES-1821] Use prototype scope
HTTP Whiteboard spec recommends using prototype scope when registering
servlets and filters to prevent several init/destroy calls to the same
servlet/filter instance.
Also avoid CXFNonSpringServlet to destroy a bus whose lifecycle it does
not own.
> JAX-RS Whiteboard is not using prototype scope when registering services for
> HTTP Whiteboard
> --------------------------------------------------------------------------------------------
>
> Key: ARIES-1821
> URL: https://issues.apache.org/jira/browse/ARIES-1821
> Project: Aries
> Issue Type: Bug
> Components: jax-rs-whiteboard
> Affects Versions: jax-rs-whiteboard-1.0.0
> Reporter: Carlos Sierra
> Priority: Minor
>
> Http Whiteboard recommends using prototype scope for servlets and filters to
> avoid calling destroy and init on instances that might not support it.
> Currently singleton scope is used.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)