From dev-return-141433-apmail-commons-dev-archive=commons.apache.org@commons.apache.org Wed Feb 13 22:58:24 2013 Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-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 63E9DE41E for ; Wed, 13 Feb 2013 22:58:24 +0000 (UTC) Received: (qmail 63618 invoked by uid 500); 13 Feb 2013 22:58:23 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 63476 invoked by uid 500); 13 Feb 2013 22:58:23 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 63372 invoked by uid 99); 13 Feb 2013 22:58:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 22:58:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rmannibucau@gmail.com designates 209.85.216.47 as permitted sender) Received: from [209.85.216.47] (HELO mail-qa0-f47.google.com) (209.85.216.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2013 22:58:17 +0000 Received: by mail-qa0-f47.google.com with SMTP id j8so2381416qah.20 for ; Wed, 13 Feb 2013 14:57:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=xkQemAtSJEslzb6AFgZK7Vf/BBm2ydSl+AGL1HjCUz8=; b=SsuVl/nEyZbmfiRkD3PSg4mOAID+uXb5/w5W6M4+lcM8H+PkieujVZpLAi5rz0VYYe wdJMnzm6cLuvGT8m4bUxeDQKWm1Twwb9iCmNayVtVWLzlYoILMJvuPuB+tddNEOy9fvM 35w21iJ5Qor5/9v+cxFvuto3ECYTwR83xQcWUZ5rDuSkRdO7YgFVbbuL6+OzgX9GKRqz 4FOO4klnDBLb4B9mqucMm1h5sZ/xPWQXYobJaANnQLpCraieYreb/L0EVCCa1erfHJd3 RGWnTzyHNZ2z2p5wcCiqqcYAoiLhH1fvdPQxzq5+cRchvh5LwlvtTFRkfJsZfOGsbYyI LClg== X-Received: by 10.229.111.80 with SMTP id r16mr2215272qcp.146.1360795825084; Wed, 13 Feb 2013 14:50:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.69.19 with HTTP; Wed, 13 Feb 2013 14:48:52 -0800 (PST) In-Reply-To: <1360785768.20837.YahooMailNeo@web28903.mail.ir2.yahoo.com> References: <48128D26-FE1E-4A04-893D-ACED14EE528F@hoplahup.net> <1360785768.20837.YahooMailNeo@web28903.mail.ir2.yahoo.com> From: Romain Manni-Bucau Date: Wed, 13 Feb 2013 23:48:52 +0100 Message-ID: Subject: Re: commons-monitoring? To: Commons Developers List , Mark Struberg Content-Type: multipart/alternative; boundary=0023544717d4c41c5504d5a2f70a X-Virus-Checked: Checked by ClamAV on apache.org --0023544717d4c41c5504d5a2f70a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable that's not natural true for spring i think *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/2/13 Mark Struberg > I'm not sure if this is needed in this case. > > The Java interceptors spec got moved out of EJB a long time a go and is > now a standalone spec which is used by CDI, Spring and guice. > The package is javax.interceptor and contains all the stuff we need. > > If we do it in a similar style than Apache MyFaces CODI and now Apache > DeltaSpike does it with the 'InterceptorStrategy' [1] then we are > completely free of any container specific code. > > > LieGrue, > strub > > [1] > https://git-wip-us.apache.org/repos/asf?p=3Dincubator-deltaspike.git;a=3D= blob;f=3Ddeltaspike/core/api/src/main/java/org/apache/deltaspike/core/spi/I= nterceptorStrategy.java;h=3Da772152c46ae589572c6bb2bfb0292a8e980b2d3;hb=3DH= EAD > > > > ----- Original Message ----- > > From: Matt Benson > > To: Commons Developers List > > Cc: > > Sent: Wednesday, February 13, 2013 4:39 PM > > Subject: Re: commons-monitoring? > > > > WRT a Commons Interceptor API, [proxy] defines Interceptor and other > > related interfaces. > > > > Matt > > > > > > On Wed, Feb 13, 2013 at 6:09 AM, Romain Manni-Bucau > > wrote: > > > >> basically having a commons.Interceptor api can be interesting then we > >> simply need to map to spring and cdi > >> > >> this is done in shiro for instance and works very well > >> > >> *Romain Manni-Bucau* > >> *Twitter: @rmannibucau * > >> *Blog: **http://rmannibucau.wordpress.com/*< > >> http://rmannibucau.wordpress.com/> > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > >> *Github: https://github.com/rmannibucau* > >> > >> > >> > >> 2013/2/13 Benedikt Ritter > >> > >> > 2013/2/13 Paul Libbrecht > >> > > >> > > Benedikt, > >> > > > >> > > On 13 f=E9vr. 2013, at 08:49, Benedikt Ritter wrote: > >> > > > Commons components usually don't have any dependencies. > > How would you > >> > > > implement this under this restriction? > >> > > > >> > > > >> > > > >> > > I've never seen this written before. Have you? > >> > > > >> > > >> > Yes, on the commons website [1]: > >> > > >> > "Commons developers will make an effort to ensure that their > > components > >> > have minimal dependencies on other libraries, so that these > components > >> can > >> > be deployed easily." > >> > > >> > But you're right If you wanted to point out, that this is not an > > absolute > >> > must-have. We can have minimal dependencies. > >> > I guess (but I don't know!) it would be okay to have a dependency > > to the > >> > AOP alliance jars, for example to define a new MethodInterceptor [2= ] > > for > >> > monitoring. But IMHO it would be rather strange to have dependencie= s > > to > >> > org.springframework.aop to define a new MethodBeforeAdvice [3] for > >> > monitoring. > >> > > >> > Makes sense? :) > >> > > >> > Benedikt > >> > > >> > [1] http://commons.apache.org/ > >> > [2] > >> > > >> > > >> > > > http://aopalliance.sourceforge.net/doc/org/aopalliance/intercept/MethodIn= terceptor.html > >> > [3] > >> > > >> > > >> > > > http://static.springsource.org/spring/docs/3.0.0.M1/javadoc-api/org/sprin= gframework/aop/MethodBeforeAdvice.html > >> > > >> > > >> > > > >> > > paul > >> > > > >> > > > >> > > > >> > > > >> > > >> > > >> > -- > >> > http://people.apache.org/~britter/ > >> > http://www.systemoutprintln.de/ > >> > http://twitter.com/BenediktRitter > >> > http://github.com/britter > >> > > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --0023544717d4c41c5504d5a2f70a--