cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Yu (JIRA)" <>
Subject [jira] Updated: (CXF-1147) Refactoring the jca handler chain building.
Date Tue, 30 Oct 2007 06:06:50 GMT


Jeff Yu updated CXF-1147:

    Attachment: cxf-1147.patch

with this patch:

cxf-jca handlers chain building is from the MEAT-INF/ file.
the handler configuration format is:
40=org.apache.cxf...Hanlder (key is the handler order, value is the class name).

if we want to use add the security or transaction module, we just need to add the specific
handlers in their
own META-INF/, do not need to update any other config file.

> Refactoring the jca handler chain building.
> -------------------------------------------
>                 Key: CXF-1147
>                 URL:
>             Project: CXF
>          Issue Type: Sub-task
>          Components: Integration
>    Affects Versions: 2.0.2
>         Environment: windows
>            Reporter: Jeff Yu
>             Fix For: 2.1
>         Attachments: cxf-1147.patch
> Now, the cxf uses hard-coded configuration in InvocationHandlerFactory class to build
the jca handler chain as follow:
>         String[] classNames = {"org.apache.cxf.jca.cxf.handlers.ProxyInvocationHandler",
>                                "org.apache.cxf.jca.cxf.handlers.ObjectMethodInvocationHandler",
>                                "org.apache.cxf.jca.cxf.handlers.InvokingInvocationHandler"};
> It would be better for us to build the handler chain from configuration file, such as
META-INF/org.apache.cxf.jca.handlers in classpath.
> so if we add another jca module jar, say jca-security, we don't need to override the
InvocationHandlerFactory to add the jca-security Hanlder, 
> we just need to add the org.apache.cxf.jca.handlers in jca-security jar, so it can be
integrated seamless.

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

View raw message