Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1030 JCA 1.5 support
  3. CXF-1147

Refactoring the jca handler chain building.

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.0.3
    • Integration
    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            njiang Willem Jiang
            jeff.yu Jeff Yu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment