[ https://issues.apache.org/jira/browse/CXF-7336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andriy Redko reassigned CXF-7336: --------------------------------- Assignee: Andriy Redko > [cdi] wrong org.apache.cxf.cdi.CdiResourceProvider#isSingleton implementation > ----------------------------------------------------------------------------- > > Key: CXF-7336 > URL: https://issues.apache.org/jira/browse/CXF-7336 > Project: CXF > Issue Type: Task > Components: JAX-RS > Reporter: Romain Manni-Bucau > Assignee: Andriy Redko > > org.apache.cxf.cdi.CdiResourceProvider#isSingleton returns "is not request > scoped" but cdi will issue a contextual proxy for @RequestScoped instances so > a @RequestScoped instance *is* a singleton. > The implementation should be !beanManager.isNormalScope(bean.getScope()). If > a normal scope (@ApplicationScoped, @RequestScoped...) then the context is > managed outside the proxy and the proxy is a singleton. -- This message was sent by Atlassian JIRA (v6.3.15#6346)