cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Yu (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1147) Refactoring the jca handler chain building.
Date Mon, 29 Oct 2007 08:08:50 GMT
Refactoring the jca handler chain building.
-------------------------------------------

                 Key: CXF-1147
                 URL: https://issues.apache.org/jira/browse/CXF-1147
             Project: CXF
          Issue Type: Sub-task
          Components: Integration
    Affects Versions: 2.0.2
         Environment: windows
            Reporter: Jeff Yu
             Fix For: 2.1


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.


Mime
View raw message