[ 
https://issues.apache.org/jira/browse/EXTCDI-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993462#comment-12993462
 ] 

Mark Struberg commented on EXTCDI-132:
--------------------------------------

yes, the whole method got removed.

Nonetheless, the issue is a bug in CanDI, because this disposal method is 
programmed in exaclty the way described in the spec paragraph
3.3.6. Declaring a disposer method

@Produces @ConversationScoped @UserDatabase
public EntityManager create(EntityManagerFactory emf) { ...

public void close(@Disposes @UserDatabase EntityManager em) {

please note that the disposal method doesn't need to mention the scope. (And 
btw, it also doesn't need the qualifier afaik).

> CoDI crashes on Resin 4
> -----------------------
>
>                 Key: EXTCDI-132
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-132
>             Project: MyFaces CODI
>          Issue Type: Bug
>            Reporter: Matthias Weßendorf
>             Fix For: 0.9.3
>
>
> Deploying a demo app, containing codi to Resin, I am getting a Config 
> excecption there

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to