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 <[email protected]>
To: [email protected]
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!

Reply via email to