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

Mark Struberg commented on CDI-24:
----------------------------------

Please note that the CreationalContext also needs to be Serializable!

Otherwise it cannot be stored on a medium which needs to be serialised (e.g. 
the JSF ViewMap)

Maybe we can simply say: if a bean is PassivationCapable, it also needs to be 
Serializable or Externalizable?


> Make it easier to build passivating contexts by making sure Contextual 
> objects passed to them are serializable
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CDI-24
>                 URL: https://issues.jboss.org/browse/CDI-24
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>            Reporter: Pete Muir
>
> OWB ensures that any Contextual impl passed to a passivating context is 
> serializable, making it much easier to impl a custom passivating context. We 
> should probably make this required by the spec.

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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to