cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John D. Ament (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7175) Wrong class specified for CdiBusBean
Date Sun, 11 Dec 2016 14:44:59 GMT

    [ https://issues.apache.org/jira/browse/CXF-7175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15739846#comment-15739846
] 

John D. Ament commented on CXF-7175:
------------------------------------

The funny thing, its probably a bug in the arquillian adapter more than anything.  However,
section 5.1.4 of CDI 1.2 states:

bq. For a custom implementation of the Bean interface defined in The Bean interface, the container
calls getBeanClass() to determine the bean class of the bean and InjectionPoint.getMember()
and then Member.getDeclaringClass() to determine the class that declares an injection point.

CXF is saying the bean class - and as a result the proxy - is `Bus` but it should be a concrete
implementation.

> Wrong class specified for CdiBusBean
> ------------------------------------
>
>                 Key: CXF-7175
>                 URL: https://issues.apache.org/jira/browse/CXF-7175
>             Project: CXF
>          Issue Type: Bug
>          Components: Integration
>            Reporter: John D. Ament
>
> https://github.com/apache/cxf/blob/3.1.x-fixes/integration/cdi/src/main/java/org/apache/cxf/cdi/CdiBusBean.java#L43
> This specifies the wrong class.  Since the Bean created is specifically a {{ExtensionManagerBus}}
this should return {{ExtensionManagerBus.class}} not {{Bus.class}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message