Re: [functor] Change default arity of Function, Predicate and Procedure

2013-02-13 Thread Benedikt Ritter
Hi Bruno, 2013/2/12 Bruno P. Kinoshita ki...@apache.org Hi Benedikt, Thanks for taking a look at the github repo and for posting your thoughts here. If I understand it correctly, your concern is: - In the github repo, a BinaryFunction is a Binary, and a Binary is an Arity. - But at

Re: commons-monitoring?

2013-02-13 Thread Benedikt Ritter
2013/2/13 Romain Manni-Bucau rmannibu...@gmail.com that's the point of my initial question: is commons-monitoring the place to add such things Well I guess if you see this as a defect of other libraries, you should just go ahead and start developing. :) Please don't forget to add tests for

Re: commons-monitoring?

2013-02-13 Thread Paul Libbrecht
Benedikt, On 13 févr. 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? paul

Re: commons-monitoring?

2013-02-13 Thread Benedikt Ritter
2013/2/13 Paul Libbrecht p...@hoplahup.net Benedikt, On 13 févr. 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

Re: commons-monitoring?

2013-02-13 Thread Romain Manni-Bucau
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 https://twitter.com/rmannibucau* *Blog:

Re: commons-monitoring?

2013-02-13 Thread Matt Benson
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 rmannibu...@gmail.comwrote: basically having a commons.Interceptor api can be interesting then we simply need to map to spring and cdi this is

Re: [functor] Change default arity of Function, Predicate and Procedure

2013-02-13 Thread Matt Benson
TBH, I can't recall what the argument was against Functor either; I think it had something to do with potentially confusing users of other libraries? Functor |_NullaryFunctor |_UnaryFunctor |_BinaryFunctor *is* the current state. :) Now, when I woke up this morning I did so with another

Re: [functor] Change default arity of Function, Predicate and Procedure

2013-02-13 Thread Jörg Schaible
Hi, Matt Benson wrote: TBH, I can't recall what the argument was against Functor either; I think it had something to do with potentially confusing users of other libraries? Functor |_NullaryFunctor |_UnaryFunctor |_BinaryFunctor *is* the current state. :) Now, when I woke up this

Re: [functor] Change default arity of Function, Predicate and Procedure

2013-02-13 Thread Matt Benson
Hi Jorg, We had at some point talked about whether these could be done with a simple annotation. I had hoped for something that could be expressed in terms enforceable by the compiler. Matt On Wed, Feb 13, 2013 at 10:22 AM, Jörg Schaible joerg.schai...@scalaris.com wrote: Hi, Matt

Re: commons-monitoring?

2013-02-13 Thread 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

Re: svn commit: r1445922 - /commons/sandbox/monitoring/trunk/pom.xml

2013-02-13 Thread Benedikt Ritter
Hi Oliver, nice to see some activity in this component :) 2013/2/13 ol...@apache.org Author: olamy Date: Wed Feb 13 21:03:27 2013 New Revision: 1445922 URL: http://svn.apache.org/r1445922 Log: use last parent Modified: commons/sandbox/monitoring/trunk/pom.xml Modified:

Re: commons-monitoring?

2013-02-13 Thread Romain Manni-Bucau
that's not natural true for spring i think *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau*