Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED7836647 for ; Mon, 1 Aug 2011 02:01:34 +0000 (UTC) Received: (qmail 46928 invoked by uid 500); 1 Aug 2011 02:01:34 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 46878 invoked by uid 500); 1 Aug 2011 02:01:33 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 46870 invoked by uid 99); 1 Aug 2011 02:01:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 02:01:33 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 02:01:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B175797F5F for ; Mon, 1 Aug 2011 02:01:09 +0000 (UTC) Date: Mon, 1 Aug 2011 02:01:09 +0000 (UTC) From: "Xilai Dai (JIRA)" To: issues@cxf.apache.org Message-ID: <982236783.22117.1312164069723.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2108514861.20141.1311982450147.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CXF-3697) the clientDestroyed() of ClientLifeCycleListener impl not be called when the service undeployed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-3697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xilai Dai updated CXF-3697: --------------------------- Attachment: testlifecycle.zip testlifecycle project attached > the clientDestroyed() of ClientLifeCycleListener impl not be called when the service undeployed > ----------------------------------------------------------------------------------------------- > > Key: CXF-3697 > URL: https://issues.apache.org/jira/browse/CXF-3697 > Project: CXF > Issue Type: Bug > Components: Bus > Affects Versions: 2.4.1, 2.5 > Reporter: Xilai Dai > Labels: ClientLifeCycleListener > Attachments: testlifecycle.zip > > > the clientDestroyed() of ClientLifeCycleListener impl not be called when the service 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); > } -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira