public final class InstanceFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> javax.enterprise.inject.Instance<T> |
getInstance(Type injectedType,
Class<?> injectionPointClass,
WebBeansContext webBeansContext,
javax.enterprise.context.spi.CreationalContext<?> creationalContext,
Object ownerInstance,
Annotation... annotations) |
public static <T> javax.enterprise.inject.Instance<T> getInstance(Type injectedType, Class<?> injectionPointClass, WebBeansContext webBeansContext, javax.enterprise.context.spi.CreationalContext<?> creationalContext, Object ownerInstance, Annotation... annotations)
injectedType - injection class typeinjectionPointClass - null or the class of the injection pointwebBeansContext - creationalContext - will get used for creating @Dependent beansownerInstance - the object the current Instance got injected intoannotations - qualifier annotationsInstance for the given type.Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.