org.jboss.weld.context
Class SerializableContextual<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.SerializableContextual<C,I>
All Implemented Interfaces:
java.io.Serializable, javax.enterprise.context.spi.Contextual<I>

public class SerializableContextual<C extends javax.enterprise.context.spi.Contextual<I>,I>
extends ForwardingContextual<I>
implements java.io.Serializable

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

Author:
pmuir
See Also:
Serialized Form

Constructor Summary
SerializableContextual(C contextual)
           
 
Method Summary
protected  javax.enterprise.context.spi.Contextual<I> delegate()
           
 boolean equals(java.lang.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
 

Constructor Detail

SerializableContextual

public SerializableContextual(C contextual)
Method Detail

delegate

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

get

public C get()

equals

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

hashCode

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


Copyright © 2008-2009 Seam Framework. All Rights Reserved.