Package | Description |
---|---|
io.smallrye.config.inject | |
javax.enterprise.context.spi |
The custom context SPI.
|
javax.enterprise.inject.spi |
The portable extension integration SPI.
|
javax.enterprise.inject.spi.configurator | |
org.hibernate.validator.cdi.internal |
Classes for enabling Bean Validation CDI integration.
|
org.jboss.resteasy.cdi.microprofile | |
org.jboss.weld.bootstrap.event |
Modifier and Type | Method and Description |
---|---|
T |
ConfigInjectionBean.create(CreationalContext<T> context) |
void |
ConfigInjectionBean.destroy(T instance,
CreationalContext<T> context) |
Modifier and Type | Method and Description |
---|---|
T |
Contextual.create(CreationalContext<T> creationalContext)
Create a new instance of the contextual type.
|
void |
Contextual.destroy(T instance,
CreationalContext<T> creationalContext)
Destroy an instance of the contextual type.
|
<T> T |
Context.get(Contextual<T> contextual,
CreationalContext<T> creationalContext)
Return an existing instance of certain contextual type or create a new instance by calling
Contextual.create(CreationalContext) and return the new instance. |
Modifier and Type | Method and Description |
---|---|
<T> CreationalContext<T> |
BeanManager.createCreationalContext(Contextual<T> contextual)
Obtain an instance of a
CreationalContext for the given
contextual type, or for a non-contextual object. |
Modifier and Type | Method and Description |
---|---|
<T> InterceptionFactory<T> |
BeanManager.createInterceptionFactory(CreationalContext<T> ctx,
Class<T> clazz)
Create an
InterceptionFactory for the given CreationalContext and type. |
Object |
BeanManager.getInjectableReference(InjectionPoint ij,
CreationalContext<?> ctx)
Obtains an injectable reference for a certain injection point.
|
Object |
BeanManager.getReference(Bean<?> bean,
Type beanType,
CreationalContext<?> ctx)
Obtains a contextual reference for a certain bean and a certain bean type of the bean.
|
void |
InjectionTarget.inject(T instance,
CreationalContext<T> ctx)
Performs dependency injection upon the given object.
|
T |
Producer.produce(CreationalContext<T> ctx)
Causes an instance to be produced via the
Producer . |
Modifier and Type | Method and Description |
---|---|
<U extends T> |
BeanConfigurator.createWith(Function<CreationalContext<U>,U> callback)
Set a callback to create a bean instance.
|
BeanConfigurator<T> |
BeanConfigurator.destroyWith(BiConsumer<T,CreationalContext<T>> callback)
Set a callback to destroy a bean instance.
|
<U extends T> |
ProducerConfigurator.produceWith(Function<CreationalContext<U>,U> callback)
Set a callback to produce a new instance.
|
Modifier and Type | Method and Description |
---|---|
Validator |
ValidatorBean.create(CreationalContext<Validator> ctx) |
ValidatorFactory |
ValidatorFactoryBean.create(CreationalContext<ValidatorFactory> ctx) |
void |
ValidatorBean.destroy(Validator instance,
CreationalContext<Validator> ctx) |
void |
ValidatorFactoryBean.destroy(ValidatorFactory instance,
CreationalContext<ValidatorFactory> ctx) |
Modifier and Type | Method and Description |
---|---|
Object |
RestClientDelegateBean.create(CreationalContext<Object> creationalContext) |
void |
RestClientDelegateBean.destroy(Object instance,
CreationalContext<Object> creationalContext) |
Modifier and Type | Method and Description |
---|---|
<U extends T> |
WeldBeanConfigurator.createWith(Function<CreationalContext<U>,U> callback) |
WeldBeanConfigurator<T> |
WeldBeanConfigurator.destroyWith(BiConsumer<T,CreationalContext<T>> callback) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.