You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Matthias Wessendorf <ma...@apache.org> on 2010/03/18 16:12:43 UTC

WebBeansConfigurationException...

Hi,

has one noticed that ?
According to the bug-filer this seems to work in Weld..

Not done any debugging yet...


https://issues.apache.org/jira/browse/EXTCDI-4

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Re: WebBeansConfigurationException...

Posted by Matthias Wessendorf <ma...@apache.org>.
thanks for the comment!

-Matthias

On Thu, Mar 18, 2010 at 11:17 AM, Gurkan Erdogdu
<gu...@yahoo.com> wrote:
> Problem is that
>
> EntityManagerProducer defines disposal method that has an InjectionPoint parameter. According to the spec,
>
> "If a bean that declares any scope other than @Dependent has an injection point of type InjectionPoint and qualifier
> @Default, the container automatically detects the problem and treats it as a definition error.
> "
>
>
> In our implementation, we treat disposal methods InjectionPoint#getBean as a Managed Bean i.ie EntityManagerProducer and it has not scoped as @Dependent. Therefore it throws Exception.
>
> --Gurkan
>
>
>
>
> ________________________________
> From: Matthias Wessendorf <ma...@apache.org>
> To: dev@openwebbeans.apache.org
> Sent: Thu, March 18, 2010 5:12:43 PM
> Subject: WebBeansConfigurationException...
>
> Hi,
>
> has one noticed that ?
> According to the bug-filer this seems to work in Weld..
>
> Not done any debugging yet...
>
>
> https://issues.apache.org/jira/browse/EXTCDI-4
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>
>
>
>      ___________________________________________________________________
> Yahoo! Türkiye açıldı!  http://yahoo.com.tr
> İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Re: WebBeansConfigurationException...

Posted by Gurkan Erdogdu <gu...@yahoo.com>.
Problem is that 

EntityManagerProducer defines disposal method that has an InjectionPoint parameter. According to the spec, 

"If a bean that declares any scope other than @Dependent has an injection point of type InjectionPoint and qualifier
@Default, the container automatically detects the problem and treats it as a definition error.
"


In our implementation, we treat disposal methods InjectionPoint#getBean as a Managed Bean i.ie EntityManagerProducer and it has not scoped as @Dependent. Therefore it throws Exception. 

--Gurkan




________________________________
From: Matthias Wessendorf <ma...@apache.org>
To: dev@openwebbeans.apache.org
Sent: Thu, March 18, 2010 5:12:43 PM
Subject: WebBeansConfigurationException...

Hi,

has one noticed that ?
According to the bug-filer this seems to work in Weld..

Not done any debugging yet...


https://issues.apache.org/jira/browse/EXTCDI-4

-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf



      ___________________________________________________________________
Yahoo! Türkiye açıldı!  http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!