cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (CXF-1547) Inconsistency in AbstractFeature dealing with client and server endpoints
Date Fri, 06 Jun 2008 08:04:45 GMT

     [ https://issues.apache.org/jira/browse/CXF-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp reassigned CXF-1547:
--------------------------------

    Assignee: Daniel Kulp

> Inconsistency in AbstractFeature dealing with client and server endpoints
> -------------------------------------------------------------------------
>
>                 Key: CXF-1547
>                 URL: https://issues.apache.org/jira/browse/CXF-1547
>             Project: CXF
>          Issue Type: Bug
>          Components: Configuration
>            Reporter: William Tam
>            Assignee: Daniel Kulp
>
> (This would apply to both in and out fault interceptors.)
> In AbstractFeature.initialize methods, unlike the "initialize server"
> counterpart, the initialize method for client is not passing
> client.getEndpoint() to the initializeProvider() method.
> public abstract class AbstractFeature {
>    public void initialize(Server server, Bus bus) {
>        initializeProvider(server.getEndpoint(), bus);
>    }
>    public void initialize(Client client, Bus bus) {
>        initializeProvider(client, bus);
>    }
> As a result, adding InFault interceptors to the (client) provider
> inside the initializeProvider() method does not really end up putting
> them in the fault interceptor chain since the
> InFaultChainInitiatorObserver.initializeInterceptors() method only
> looks for inFault interceptors in the following places.
> protected void initializeInterceptors(Exchange ex,
> PhaseInterceptorChain chain) {
>        Endpoint e = ex.get(Endpoint.class);
>        chain.add(e.getInFaultInterceptors());
>        chain.add(e.getBinding().getInFaultInterceptors());
>        chain.add(e.getService().getInFaultInterceptors());
>        chain.add(getBus().getInFaultInterceptors());
>    }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message