[
https://issues.apache.org/jira/browse/CXF-6113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14221186#comment-14221186
]
Sergey Beryozkin commented on CXF-6113:
---------------------------------------
I've added a ClassUnwrapper interface but at this stage it is checked and if it
is available as a bus property then ClassHelper will delegate to it, otherwise
it would work as before.
We can eventually support the chaining too but I'm not sure how realistic it is
to have the chains of disparate AOP systems :-), but as I said it would be easy
enough to do the chaining later on. Please experiment when you get a chance
with a single unwrapper and let me know if that will work
Thanks
> 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
> Priority: Trivial
>
> 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)