T - public class NonContextual<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
inject(T instance)
Injects the instance
|
static <T> NonContextual<T> |
of(Class<? extends T> clazz,
javax.enterprise.inject.spi.BeanManager manager)
Factory method for creating noncontextual instances
|
void |
postConstruct(T instance)
Injects the instance and calls any
PostConstruct methods |
void |
preDestroy(T instance)
Calls any
PreDestroy methods and destroys any injected dependencies that need to be
destroyed. |
static void |
undeploy(javax.enterprise.inject.spi.BeanManager beanManager)
Undeploys specified bean manager from cache
|
public static void undeploy(javax.enterprise.inject.spi.BeanManager beanManager)
beanManager - public static <T> NonContextual<T> of(Class<? extends T> clazz, javax.enterprise.inject.spi.BeanManager manager)
T - clazz - manager - public void postConstruct(T instance)
PostConstruct methodsinstance - public void inject(T instance)
instance - public void preDestroy(T instance)
PreDestroy methods and destroys any injected dependencies that need to be
destroyed.instance - Copyright © 2006–2018 Apache Software Foundation. All rights reserved.