eXo Kernel :: Container 2.5.0-GA

org.exoplatform.container.context
Class CreationContext<T>

java.lang.Object
  extended by org.exoplatform.container.context.CreationContext<T>
All Implemented Interfaces:
Serializable

public class CreationContext<T>
extends Object
implements Serializable

This class defined all the context needed while creation the object instance

Version:
$Id$
Author:
Nicolas Filotto
See Also:
Serialized Form

Constructor Summary
CreationContext()
           
CreationContext(javax.enterprise.context.spi.Contextual<T> contextual, javax.enterprise.context.spi.CreationalContext<T> creationalContext, T instance)
           
 
Method Summary
 boolean equals(Object obj)
           
 javax.enterprise.context.spi.Contextual<T> getContextual()
           
 javax.enterprise.context.spi.CreationalContext<T> getCreationalContext()
           
 T getInstance()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreationContext

public CreationContext()

CreationContext

public CreationContext(javax.enterprise.context.spi.Contextual<T> contextual,
                       javax.enterprise.context.spi.CreationalContext<T> creationalContext,
                       T instance)
Method Detail

getCreationalContext

public javax.enterprise.context.spi.CreationalContext<T> getCreationalContext()
Returns:
the creationalContext

getInstance

public T getInstance()
Returns:
the instance

getContextual

public javax.enterprise.context.spi.Contextual<T> getContextual()
Returns:
the contextual

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

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

eXo Kernel :: Container 2.5.0-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.