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

Add ability to have proxies implement AutoCloseable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1
    • Tooling
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: