You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/11/20 21:10:34 UTC
[jira] [Updated] (CXF-6113) allow a kind of chain in
org.apache.cxf.common.util.ClassHelper
[ https://issues.apache.org/jira/browse/CXF-6113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Romain Manni-Bucau updated CXF-6113:
------------------------------------
Description:
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;"
was:
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.
> 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)