org.jboss.weld.context
Class ForwardingContextual<T>

java.lang.Object
  extended by org.jboss.weld.context.ForwardingContextual<T>
All Implemented Interfaces:
javax.enterprise.context.spi.Contextual<T>
Direct Known Subclasses:
SerializableContextual

public abstract class ForwardingContextual<T>
extends java.lang.Object
implements javax.enterprise.context.spi.Contextual<T>


Constructor Summary
ForwardingContextual()
           
 
Method Summary
 T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
           
protected abstract  javax.enterprise.context.spi.Contextual<T> delegate()
           
 void destroy(T instance, javax.enterprise.context.spi.CreationalContext<T> creationalContext)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForwardingContextual

public ForwardingContextual()
Method Detail

delegate

protected abstract javax.enterprise.context.spi.Contextual<T> delegate()

create

public T create(javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Specified by:
create in interface javax.enterprise.context.spi.Contextual<T>

destroy

public void destroy(T instance,
                    javax.enterprise.context.spi.CreationalContext<T> creationalContext)
Specified by:
destroy in interface javax.enterprise.context.spi.Contextual<T>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

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


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