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

the clientDestroyed() of ClientLifeCycleListener impl not be called when the service with jaxws:client undeployed

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      the clientDestroyed() of ClientLifeCycleListener impl not be called when the service with jaxws:client undeployed.
      sample code:

      import org.apache.cxf.endpoint.ClientLifeCycleListener;
      public class ClientListenerImpl implements ClientLifeCycleListener{

      public void clientCreated(Client client)

      { System.out.println("clientCreated!"); }

      public void clientDestroyed(Client client)

      { System.out.println("clientDestroyed!"); }

      }

      ClientLifeCycleManager clcm = bus.getExtension(ClientLifeCycleManager.class);
      if (null != clcm)

      { ClientListenerImpl cltListener = new ClientListenerImpl(); clcm.registerListener(cltListener); }

      Attachments

        Activity

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

          People

            dkulp Daniel Kulp
            xldai Xilai Dai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment