org.apache.webbeans.inject.instance
Class InstanceFactory
java.lang.Object
org.apache.webbeans.inject.instance.InstanceFactory
public final class InstanceFactory
- extends Object
|
Method Summary |
static
<T> javax.enterprise.inject.Instance<T> |
|
getInstance(Type injectedType,
Class<?> injectionPointClass,
WebBeansContext webBeansContext,
javax.enterprise.context.spi.CreationalContext<?> creationalContext,
Object ownerInstance,
Annotation... annotations)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
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)
- Parameters:
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 annotations
- Returns:
- the
Instance for the given type.
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.