Return-Path: X-Original-To: apmail-struts-dev-archive@www.apache.org Delivered-To: apmail-struts-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B9301050A for ; Tue, 5 Nov 2013 08:58:55 +0000 (UTC) Received: (qmail 60286 invoked by uid 500); 5 Nov 2013 08:58:54 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 59845 invoked by uid 500); 5 Nov 2013 08:58:48 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 59707 invoked by uid 99); 5 Nov 2013 08:58:38 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Nov 2013 08:58:38 +0000 Received: from localhost (HELO mail-pd0-f171.google.com) (127.0.0.1) (smtp-auth username lukaszlenart, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Nov 2013 08:58:38 +0000 Received: by mail-pd0-f171.google.com with SMTP id w10so8020135pde.16 for ; Tue, 05 Nov 2013 00:58:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=FgnirpQ0t6ul6W+u4LLhYhFDILTOysYan6/FQlJZpTQ=; b=bTyAcr+YN6FPsMsni59O+M1y8BpMX/ja3I0lHdiY7DrEcLdA3xEkiZiGGYgAqojJXN 8xiAh15owriGdyZNYCtQxuICXppRQL0+n6hLmB6W8QJNCBt71Pk8X9FhXyXL7jA5iKg5 Md7sXMxpzVFNpp3n5GoqCy1UXGlknvwSfzXXaqhjQRynKXVGwtyzsVCRWdBmyOZ5FLjp pNwZcs7EKlCwEeGCLgFissxHD3quUxRvyVXC9SmA2Y4M+lt2OK/JfhqbuXr778B/rCTc kEy6fVSvnamqwLigeaPm5NeytrQzDzNgI1ETBoFsYtxAaGrHwkOnfLQFMemFJQPAu6c+ 9Rig== X-Received: by 10.68.225.164 with SMTP id rl4mr22150025pbc.100.1383641917856; Tue, 05 Nov 2013 00:58:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.229.170 with HTTP; Tue, 5 Nov 2013 00:58:17 -0800 (PST) From: Lukasz Lenart Date: Tue, 5 Nov 2013 09:58:17 +0100 Message-ID: Subject: InterceptorListeners To: Struts Developers List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, What do you think about adding possibility to create listeners which will be executed before/after given interceptor? Something like this: public interface InterceptorListener { boolean accept(InterceptorMapping mapping); void beforeInterceptor(ActionInvocation invocation); void afterInterceptor(ActionInvocation invocation); } You can define them as a beens in struts.xml There are already few interceptors defined: https://cwiki.apache.org/confluence/display/WW/ActionEventListener https://cwiki.apache.org/confluence/display/WW/DispatcherListener https://cwiki.apache.org/confluence/display/WW/PreResultListener Regards --=20 =C5=81ukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org