myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gurkan Erdogdu (JIRA)" <>
Subject [jira] Commented: (EXTCDI-4) transactional annotation
Date Thu, 18 Mar 2010 18:18:27 GMT


Gurkan Erdogdu commented on EXTCDI-4:

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 EntityManagerProducer and it has not scoped as @Dependent. Therefore it throws Exception.

> transactional annotation
> ------------------------
>                 Key: EXTCDI-4
>                 URL:
>             Project: MyFaces CODI
>          Issue Type: New Feature
>            Reporter: Gerhard Petracek
>         Attachments:,,,
> @Transactional should act like the equivalent spring annotation and it should be compatible
with every custom cdi-scope.
>  @TransactionAttribute should be supported as well.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message