You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2017/03/21 16:17:41 UTC
[jira] [Commented] (CXF-7290) Restrict which @Bean components are
treated as JAX-RS providers
[ https://issues.apache.org/jira/browse/CXF-7290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15934817#comment-15934817 ]
Sergey Beryozkin commented on CXF-7290:
---------------------------------------
cxf.jaxrs.component-scan-packages and cxf.jaxrs.component-scan-beans properties are introduced. The former, if set, can only be effective if a given bean is a singleton
> Restrict which @Bean components are treated as JAX-RS providers
> ---------------------------------------------------------------
>
> Key: CXF-7290
> URL: https://issues.apache.org/jira/browse/CXF-7290
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Reporter: Sergey Beryozkin
> Fix For: 3.2.0, 3.1.11
>
>
> if a @Bean component is a singleton then we can try and restrict on the class package basis or we can check the bean names
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)