You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2015/03/06 18:18:38 UTC

[jira] [Resolved] (CXF-6282) Add ability to have proxies implement AutoCloseable

     [ https://issues.apache.org/jira/browse/CXF-6282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-6282.
------------------------------
    Resolution: Fixed

> Add ability to have proxies implement AutoCloseable
> ---------------------------------------------------
>
>                 Key: CXF-6282
>                 URL: https://issues.apache.org/jira/browse/CXF-6282
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 3.1.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)