You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2013/04/22 18:41:48 UTC

@Disposes

Hi guys,

didnt get time to look into it but we (with JL) found an issue on new trunk

basically it comes from a class with 2 @Disposes. It is forbidden with
current trunk

so here is the question: is it normal?

Side note: the class was the ResourceProvider of solder used with cdi-query
(transitively)

*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*

Re: @Disposes

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Same class (ResourceProducer)
Le 22 avr. 2013 22:52, "Mark Struberg" <st...@yahoo.de> a écrit :

> Depends on the bean which gets disposed.
>
> If those are different beans, e.g. having different qualifiers, then it
> should be allowed.
> Always depending on whether there are producers in the same class for
> those of course.
>
> LieGrue,
> strub
>
>
>
>
> ----- Original Message -----
> > From: Romain Manni-Bucau <rm...@gmail.com>
> > To: dev@openwebbeans.apache.org
> > Cc:
> > Sent: Monday, 22 April 2013, 18:41
> > Subject: @Disposes
> >
> > Hi guys,
> >
> > didnt get time to look into it but we (with JL) found an issue on new
> trunk
> >
> > basically it comes from a class with 2 @Disposes. It is forbidden with
> > current trunk
> >
> > so here is the question: is it normal?
> >
> > Side note: the class was the ResourceProvider of solder used with
> cdi-query
> > (transitively)
> >
> > *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*
> >
>

Re: @Disposes

Posted by Mark Struberg <st...@yahoo.de>.
Depends on the bean which gets disposed.

If those are different beans, e.g. having different qualifiers, then it should be allowed.
Always depending on whether there are producers in the same class for those of course.

LieGrue,
strub




----- Original Message -----
> From: Romain Manni-Bucau <rm...@gmail.com>
> To: dev@openwebbeans.apache.org
> Cc: 
> Sent: Monday, 22 April 2013, 18:41
> Subject: @Disposes
> 
> Hi guys,
> 
> didnt get time to look into it but we (with JL) found an issue on new trunk
> 
> basically it comes from a class with 2 @Disposes. It is forbidden with
> current trunk
> 
> so here is the question: is it normal?
> 
> Side note: the class was the ResourceProvider of solder used with cdi-query
> (transitively)
> 
> *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*
>