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

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


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

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

Personally I don't think there is any reason to make Bean implement serializable, it's better to use the spec defined mechanism of getPassivationCapableBean

> 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