[weld-issues] [JBoss JIRA] Closed: (WELD-250) @SessionScoped components cannot make use of non Serializable producer beans like EntityManager producers
Pete Muir (JIRA)
jira-events at lists.jboss.org
Sat Nov 7 16:52:05 EST 2009
[ https://jira.jboss.org/jira/browse/WELD-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir closed WELD-250.
--------------------------
Resolution: Done
Assignee: Pete Muir
> @SessionScoped components cannot make use of non Serializable producer beans like EntityManager producers
> ---------------------------------------------------------------------------------------------------------
>
> Key: WELD-250
> URL: https://jira.jboss.org/jira/browse/WELD-250
> Project: Weld
> Issue Type: Bug
> Components: Producers (Methods, Fields and Disposers)
> Reporter: Emmanuel Bernard
> Assignee: Pete Muir
> Fix For: 1.0.0.CR2
>
>
> Reported at Pete's request
> public class Databases {
> @Produces
> @PersistenceContext(unitName = "users")
> @Users
> EntityManager userDatabaseEntityManager;
> }
> @Named
> @SessionScoped
> public class Identifier implements Serializable {
> private boolean logged;
> private User user = new User();
> @Inject @Users private EntityManager usersEntityManager;
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list