Re: [Proposal] CdiManagedRunnable

2015-09-21 Thread Romain Manni-Bucau
Le 21 sept. 2015 01:59, "Martin Kouba" a écrit : > > Dne 18.9.2015 v 16:28 Romain Manni-Bucau napsal(a): > >> Hi >> >> I like the idea but isnt it close enough of concurrency utilities to kind >> of put it in this spec? There is this proxy factory which could/should >> support

RE: [Proposal] CdiManagedRunnable

2015-09-19 Thread Romain Manni-Bucau
_Marvin > > -Original Message- > From: John D. Ament [mailto:johndam...@apache.org] > Sent: Saturday, September 19, 2015 12:13 PM > To: dev@deltaspike.apache.org > Cc: Arne Limburg <arne.limb...@openknowledge.de> > Subject: Re: [Proposal] CdiManagedRunnable > > Are you th

Re: [Proposal] CdiManagedRunnable

2015-09-19 Thread Romain Manni-Bucau
Arne > > > > > > > > Von meinem Samsung Gerät gesendet. > > > > > > > > > > > > ---- Ursprüngliche Nachricht > > > > Von: Romain Manni-Bucau <rmannibu...@gmail.com> > > > > Datum: 18.09.201

Re: [Proposal] CdiManagedRunnable

2015-09-19 Thread Romain Manni-Bucau
gt; Von: Romain Manni-Bucau <rmannibu...@gmail.com> > > Datum: 18.09.2015 16:28 (GMT+01:00) > > An: dev@deltaspike.apache.org > > Cc: Thomas Andraschko <andraschko.tho...@gmail.com> > > Betreff: Re: [Proposal] CdiManagedRunnable > > > > Hi >

Re: [Proposal] CdiManagedRunnable

2015-09-19 Thread John D. Ament
t; Von: Romain Manni-Bucau <rmannibu...@gmail.com> > > > Datum: 18.09.2015 16:28 (GMT+01:00) > > > An: dev@deltaspike.apache.org > > > Cc: Thomas Andraschko <andraschko.tho...@gmail.com> > > > Betreff: Re: [Proposal] CdiManagedRunnable > > > &

RE: [Proposal] CdiManagedRunnable

2015-09-19 Thread Marvin Toll
-Original Message- From: John D. Ament [mailto:johndam...@apache.org] Sent: Saturday, September 19, 2015 12:13 PM To: dev@deltaspike.apache.org Cc: Arne Limburg <arne.limb...@openknowledge.de> Subject: Re: [Proposal] CdiManagedRunnable Are you thinking that this includes an executor s

Re: [Proposal] CdiManagedRunnable

2015-09-18 Thread Martin Kouba
Hi Thomas, I think it's a good idea. Weld has a similar API [1], except it's focused solely on the "thread-local-based context". We are also considering the use of an interceptor to active/deactivate the ThreadContext per business method invocation [2]. I wonder, whether this should be

[Proposal] CdiManagedRunnable

2015-09-10 Thread Thomas Andraschko
Hi, it's often required to manual activate scopes in a async threads/runnables if you don't use JavaEE 7. I already used this in 3-4 projects in the last 3 years. My current API looks like: CdiManagedRunnable - A abstract class with implements Runnable and starts the RequestScoped via