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

    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

        1. testlifecycle.zip
          6 kB
          Xilai Dai
        2. patch.txt
          0.6 kB
          Xilai Dai

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: