You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/09/11 16:18:00 UTC
[jira] [Commented] (ARIES-2001) One instance of a prototype scoped
resource is held during the lifetime of the JAX-RS application
[ https://issues.apache.org/jira/browse/ARIES-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17194374#comment-17194374 ]
ASF subversion and git services commented on ARIES-2001:
--------------------------------------------------------
Commit e50fc8fe0adae6e3fe9320f4999dc6658b4f9817 in aries-jax-rs-whiteboard's branch refs/heads/master from Carlos Sierra Andrés
[ https://gitbox.apache.org/repos/asf?p=aries-jax-rs-whiteboard.git;h=e50fc8f ]
[ARIES-2001] Refactor to not use ServiceTuple after getResourceProvider
This refactor should state more clearly that the service tuple is not
used after `getResourceProvider` (since we don't bind it), so it is
safe now to dispose the service tuple by one of the resource providers.
> One instance of a prototype scoped resource is held during the lifetime of the JAX-RS application
> -------------------------------------------------------------------------------------------------
>
> Key: ARIES-2001
> URL: https://issues.apache.org/jira/browse/ARIES-2001
> Project: Aries
> Issue Type: Bug
> Components: jax-rs-whiteboard
> Affects Versions: jax-rs-whiteboard-1.0.10
> Reporter: Carlos Sierra Andrés
> Assignee: Carlos Sierra Andrés
> Priority: Major
> Fix For: jax-rs-whiteboard-1.0.10
>
>
> When a per request scoped service is registered into the service an instance is claimed to introspect the class of the service. This instance is held by the whiteboard while the application is deployed and is only released when the application is refreshed.
> The expectation is that the service should be released as soon as the class has been introspected.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)