[
https://issues.apache.org/jira/browse/CXF-6113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221466#comment-14221466
]
Romain Manni-Bucau commented on CXF-6113:
-----------------------------------------
Makes sense. Worse case i can do a chain in the unwrapper. Thks
> allow a kind of chain in org.apache.cxf.common.util.ClassHelper
> ---------------------------------------------------------------
>
> Key: CXF-6113
> URL: https://issues.apache.org/jira/browse/CXF-6113
> Project: CXF
> Issue Type: Bug
> Affects Versions: 3.0.2
> Reporter: Romain Manni-Bucau
> Assignee: Sergey Beryozkin
> Priority: Trivial
> Fix For: 3.1.0, 3.0.3
>
>
> Hi
> today org.apache.cxf.common.util.ClassHelper relies on spring aop or no-op
> logic. Would be great to be able to enrich it (actually I guess it should be
> done from the bus or server level).
> Use cases: EJB, CDI, ...any other IoC container or interception solution.
> I think a chain and an algorithm like the next one would not be so bad "while
> (wasUnwrap) { for (Unwraper u : unwrappers) { Object unwrapped =
> u.unwrap(o); wasUnwrap = unwraped != o; o = unwrapped; } } return unwrapped;"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)