Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.1, 2.5
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)