Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.2
-
None
-
windows
Description
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.