Hi Romain,

As far as I remember, we did the simplest thing possible, by relying on
beanManager.isNormalScope(bean.getScope()), as per 
https://issues.apache.org/jira/browse/CXF-7336.
I think the only scope we care is request one, did you run into issues with 
other scopes? 
Thanks.

Best Regards,
    Andriy Redko

Tuesday, May 22, 2018, 4:34:37 AM, you wrote:

RMB> Hi guys,

RMB> why org.apache.cxf.cdi.CdiResourceProvider#isSingleton returns false for
RMB> normal scoped beans? In such a case the instance is a proxy which can be
RMB> considered as a singleton, no?

RMB> Romain Manni-Bucau
RMB> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
RMB> <https://rmannibucau.metawerx.net/> | Old Blog
RMB> <http://rmannibucau.wordpress.com> | Github 
<https://github.com/rmannibucau> |
RMB> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
RMB> 
<https://www.packtpub.com/application-development/java-ee-8-high-performance>

Reply via email to