org.jboss.weld.context
Class SerializableContextualImpl<C extends javax.enterprise.context.spi.Contextual<I>,I>

java.lang.Object
  extended by org.jboss.weld.context.ForwardingContextual<I>
      extended by org.jboss.weld.context.SerializableContextualImpl<C,I>
All Implemented Interfaces:
Serializable, javax.enterprise.context.spi.Contextual<I>, org.jboss.weld.serialization.spi.helpers.SerializableContextual<C,I>

public class SerializableContextualImpl<C extends javax.enterprise.context.spi.Contextual<I>,I>
extends ForwardingContextual<I>
implements org.jboss.weld.serialization.spi.helpers.SerializableContextual<C,I>

A serializable version of contextual that knows how to restore the original bean if necessary

Author:
pmuir
See Also:
Serialized Form

Constructor Summary
SerializableContextualImpl(C contextual, org.jboss.weld.serialization.spi.ContextualStore contextualStore)
           
 
Method Summary
protected  javax.enterprise.context.spi.Contextual<I> delegate()
           
 boolean equals(Object obj)
           
 C get()
           
 int hashCode()
           
 
Methods inherited from class org.jboss.weld.context.ForwardingContextual
create, destroy, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.enterprise.context.spi.Contextual
create, destroy
 

Constructor Detail

SerializableContextualImpl

public SerializableContextualImpl(C contextual,
                                  org.jboss.weld.serialization.spi.ContextualStore contextualStore)
Method Detail

delegate

protected javax.enterprise.context.spi.Contextual<I> delegate()
Specified by:
delegate in class ForwardingContextual<I>

get

public C get()
Specified by:
get in interface org.jboss.weld.serialization.spi.helpers.SerializableContextual<C extends javax.enterprise.context.spi.Contextual<I>,I>

equals

public boolean equals(Object obj)
Overrides:
equals in class ForwardingContextual<I>

hashCode

public int hashCode()
Overrides:
hashCode in class ForwardingContextual<I>


Copyright © 2013 Seam Framework. All Rights Reserved.