[weld-issues] [JBoss JIRA] Commented: (WELD-867) bean implementations should be serializable

Mark Struberg (JIRA) jira-events at lists.jboss.org
Mon Mar 21 08:46:53 EDT 2011


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

Mark Struberg commented on WELD-867:
------------------------------------

As I said in my initial comment: the main problem is not the serialization of Bean itself, but serialization of CreationalContexts containing those Beans! CreationalContext itself is not Serializable yet and there is no passivationId for them of course...

> bean implementations should 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 beans are serializable.
> -> one of the following classes should implement java.io.Serializable
> https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/weld/bean/RIBean.java
> https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/weld/bean/AbstractBean.java
> https://github.com/weld/core/blob/master/impl/src/main/java/org/jboss/weld/bean/ManagedBean.java

--
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