org.apache.webbeans.context.creational
Class CreationalContextFactory<T>

java.lang.Object
  extended by org.apache.webbeans.context.creational.CreationalContextFactory<T>
Type Parameters:
T - contextual type info

public final class CreationalContextFactory<T>
extends Object

Factory for CreationalContext instances.

Version:
$Rev: 1363032 $ $Date: 2012-07-18 20:04:35 +0200 (Mi, 18 Jul 2012) $

Constructor Summary
CreationalContextFactory(WebBeansContext webBeansContext)
          Creates a new CreationalContextFactory instance.
 
Method Summary
 javax.enterprise.context.spi.CreationalContext<T> getCreationalContext(javax.enterprise.context.spi.Contextual<T> contextual)
          Returns a new creational context for given contextual.
 javax.enterprise.context.spi.CreationalContext<T> wrappedCreationalContext(javax.enterprise.context.spi.CreationalContext<T> creationalContext, javax.enterprise.context.spi.Contextual<T> contextual)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreationalContextFactory

public CreationalContextFactory(WebBeansContext webBeansContext)
Creates a new CreationalContextFactory instance.

Parameters:
webBeansContext -
Method Detail

getCreationalContext

public javax.enterprise.context.spi.CreationalContext<T> getCreationalContext(javax.enterprise.context.spi.Contextual<T> contextual)
Returns a new creational context for given contextual.

Parameters:
contextual - contextual instance
Returns:
new creational context for given contextual

wrappedCreationalContext

public javax.enterprise.context.spi.CreationalContext<T> wrappedCreationalContext(javax.enterprise.context.spi.CreationalContext<T> creationalContext,
                                                                                  javax.enterprise.context.spi.Contextual<T> contextual)


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.