Package | Description |
---|---|
javax.enterprise.context.spi | |
javax.enterprise.inject.spi |
Modifier and Type | Method and Description |
---|---|
T |
Contextual.create(CreationalContext<T> context)
Creates and returns a new instance of the webbeans component.
|
void |
Contextual.destroy(T instance,
CreationalContext<T> context)
Destroys the instance.
|
<T> T |
Context.get(Contextual<T> component,
CreationalContext<T> creationalContext)
If the context is not active, throws
ContextNotActiveException . |
Modifier and Type | Method and Description |
---|---|
<T> CreationalContext<T> |
BeanManager.createCreationalContext(Contextual<T> contextual)
Returns a new creational context implementation.
|
Modifier and Type | Method and Description |
---|---|
Object |
BeanManager.getInjectableReference(InjectionPoint injectionPoint,
CreationalContext<?> ctx)
Gets injection point bean reference.
|
Object |
BeanManager.getReference(Bean<?> bean,
Type beanType,
CreationalContext<?> ctx)
Returns a bean instance reference for the given bean.
|
void |
InjectionTarget.inject(T instance,
CreationalContext<T> ctx)
Performs dependency injection upon the given object.
|
T |
Producer.produce(CreationalContext<T> creationalContext)
Its result depends on bean type.
|
Copyright © 2023. All rights reserved.