[weld-issues] [JBoss JIRA] Commented: (WELD-867) CreationalContext implementations need to be serializable

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Mar 21 08:54:45 EDT 2011


    [ https://issues.jboss.org/browse/WELD-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589300#comment-12589300 ] 

Pete Muir commented on WELD-867:
--------------------------------

Ok, I retitled the issue.

Mark, AFAICS Weld's CC impl is serializable as long as the Bean implements PassivationCapable and the bean impl is serializable. Isn't the real issue here that the Bean passed to a custom Context impl by Weld isn't serializable?

I think what we discussed before on IRC is having Weld wrap this bean if passed to custom context in a serializable wrapper that knows how to serialize/deserialize as you and Stuart discussed.

> CreationalContext implementations need to be serializable
> ---------------------------------------------------------
>
>                 Key: WELD-867
>                 URL: https://issues.jboss.org/browse/WELD-867
>             Project: Weld
>          Issue Type: Feature Request
>          Components: Built-in beans, Clustering, Scopes & Contexts
>    Affects Versions: 1.1.0.Final
>            Reporter: Gerhard Petracek
>             Fix For: 1.2.0.Beta1
>
>
> for custom scope implementations it's required that the creationalcontext is serializable.

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


More information about the weld-issues mailing list