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

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


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

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

what about this one? :)

 * @author pmuir
 * 
 */
public class SerializableContextualImpl<C extends Contextual<I>, I> extends ForwardingContextual<I> implements SerializableContextual<C, I>

and

/**
 * A serializable version of contextual that knows how to restore the
 * original bean if necessary.
 *
 * @author Pete Muir
 * @author Marius Bogoevici
 */
public interface SerializableContextual<C extends Contextual<I>, I> extends Serializable, Contextual<I>
{
   C get();
}


taken from 
http://repo2.maven.org/maven2/org/jboss/weld/weld-core/1.0.0/weld-core-1.0.0-sources.jar
and
http://repo2.maven.org/maven2/org/jboss/weld/weld-spi/1.0/weld-spi-1.0-sources.jar

> 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