cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-6113) allow a kind of chain in org.apache.cxf.common.util.ClassHelper
Date Fri, 21 Nov 2014 18:17:34 GMT


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


> allow a kind of chain in org.apache.cxf.common.util.ClassHelper
> ---------------------------------------------------------------
>                 Key: CXF-6113
>                 URL:
>             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
> 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

View raw message