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

java.lang.Object
  extended by org.jboss.weld.context.SerializableContextualInstance<C,I>
All Implemented Interfaces:
java.io.Serializable, org.jboss.weld.context.api.ContextualInstance<I>

public class SerializableContextualInstance<C extends javax.enterprise.context.spi.Contextual<I>,I>
extends java.lang.Object
implements org.jboss.weld.context.api.ContextualInstance<I>, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
SerializableContextualInstance(C contextual, I instance, javax.enterprise.context.spi.CreationalContext<I> creationalContext)
           
SerializableContextualInstance(SerializableContextual<C,I> contextual, I instance, javax.enterprise.context.spi.CreationalContext<I> creationalContext)
           
 
Method Summary
 SerializableContextual<C,I> getContextual()
           
 javax.enterprise.context.spi.CreationalContext<I> getCreationalContext()
           
 I getInstance()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerializableContextualInstance

public SerializableContextualInstance(C contextual,
                                      I instance,
                                      javax.enterprise.context.spi.CreationalContext<I> creationalContext)

SerializableContextualInstance

public SerializableContextualInstance(SerializableContextual<C,I> contextual,
                                      I instance,
                                      javax.enterprise.context.spi.CreationalContext<I> creationalContext)
Method Detail

getContextual

public SerializableContextual<C,I> getContextual()
Specified by:
getContextual in interface org.jboss.weld.context.api.ContextualInstance<I>

getInstance

public I getInstance()
Specified by:
getInstance in interface org.jboss.weld.context.api.ContextualInstance<I>

getCreationalContext

public javax.enterprise.context.spi.CreationalContext<I> getCreationalContext()
Specified by:
getCreationalContext in interface org.jboss.weld.context.api.ContextualInstance<I>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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