Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6282

Add ability to have proxies implement AutoCloseable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1
    • Component/s: Tooling
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description


      The proxies returned from CXF implement Closeable, BindingProvider, and Client. However, the SEI interfaces do not extend any of them (JAX-WS spec requirement) which requires the user to cast those proxies to the appropriate types. It would be nice to have the ability to have those interfaces added to the super interfaces of the SEI to allow direct use of the methods. In particular, with Java7, if the SEI's could implement Closeable, using them in try with resources blocks would be much easier.

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              dkulp Daniel Kulp
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: