Uses of Interface
jakarta.enterprise.context.spi.CreationalContext
Packages that use CreationalContext
Package
Description
The custom context SPI.
The portable extension integration SPI.
Classes for enabling Bean Validation CDI integration.
This package contains utility classes.
-
Uses of CreationalContext in jakarta.enterprise.context.spi
Methods in jakarta.enterprise.context.spi with parameters of type CreationalContextModifier and TypeMethodDescriptionContextual.create(CreationalContext<T> creationalContext) Create a new instance of the contextual type.voidContextual.destroy(T instance, CreationalContext<T> creationalContext) Destroy an instance of the contextual type.<T> TContext.get(Contextual<T> contextual, CreationalContext<T> creationalContext) Return an existing instance of certain contextual type or create a new instance by callingContextual.create(CreationalContext)and return the new instance. -
Uses of CreationalContext in jakarta.enterprise.inject.spi
Methods in jakarta.enterprise.inject.spi that return CreationalContextModifier and TypeMethodDescription<T> CreationalContext<T>BeanContainer.createCreationalContext(Contextual<T> contextual) Obtain an instance of aCreationalContextfor the given contextual type, or for a non-contextual object.Methods in jakarta.enterprise.inject.spi with parameters of type CreationalContextModifier and TypeMethodDescription<T> InterceptionFactory<T>BeanManager.createInterceptionFactory(CreationalContext<T> ctx, Class<T> clazz) Create anInterceptionFactoryfor the givenCreationalContextand type.BeanManager.getInjectableReference(InjectionPoint ij, CreationalContext<?> ctx) Obtains an injectable reference for a certain injection point.BeanContainer.getReference(Bean<?> bean, Type beanType, CreationalContext<?> ctx) Obtains a contextual reference for a certain bean and a certain bean type of the bean.voidInjectionTarget.inject(T instance, CreationalContext<T> ctx) Performs dependency injection upon the given object.Producer.produce(CreationalContext<T> ctx) Causes an instance to be produced via theProducer. -
Uses of CreationalContext in jakarta.enterprise.inject.spi.configurator
Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type CreationalContextModifier and TypeMethodDescription<U extends T>
BeanConfigurator<U>BeanConfigurator.createWith(Function<CreationalContext<U>, U> callback) Set a callback to create a bean instance.BeanConfigurator.destroyWith(BiConsumer<T, CreationalContext<T>> callback) Set a callback to destroy a bean instance.<U extends T>
ProducerConfigurator<T>ProducerConfigurator.produceWith(Function<CreationalContext<U>, U> callback) Set a callback to produce a new instance. -
Uses of CreationalContext in org.hibernate.validator.cdi.internal
Methods in org.hibernate.validator.cdi.internal with parameters of type CreationalContextModifier and TypeMethodDescriptionValidatorBean.create(CreationalContext<Validator> ctx) ValidatorFactoryBean.create(CreationalContext<ValidatorFactory> ctx) voidValidatorBean.destroy(Validator instance, CreationalContext<Validator> ctx) voidValidatorFactoryBean.destroy(ValidatorFactory instance, CreationalContext<ValidatorFactory> ctx) -
Uses of CreationalContext in org.infinispan.cdi.common.util
Methods in org.infinispan.cdi.common.util with parameters of type CreationalContextModifier and TypeMethodDescriptionContextualLifecycle.create(Bean<T> bean, CreationalContext<T> creationalContext) Callback invoked by a created bean whenContextual.create(CreationalContext)is called.ContextualReference.create(CreationalContext<T> ctx) Create the instanceDelegatingContextualLifecycle.create(Bean<T> bean, CreationalContext<T> creationalContext) ImmutableBean.create(CreationalContext<T> arg0) default voidCallback invoked by a created bean whenContextual.destroy(Object, CreationalContext)is called.ContextualReference.destroy(CreationalContext<T> ctx) destroy the beanvoidDelegatingContextualLifecycle.destroy(Bean<T> bean, T instance, CreationalContext<T> creationalContext) voidImmutableBean.destroy(T arg0, CreationalContext<T> arg1) ParameterValueRedefiner.ParameterValue.getDefaultValue(CreationalContext<?> creationalContext) Get the default value of the parameter.voidDummyInjectionTarget.inject(T instance, CreationalContext<T> ctx) <T> TInjectableMethod.invoke(Object receiver, CreationalContext<T> creationalContext) Invoke the method, causing all parameters to be injected according to the CDI type safe resolution rules.<T> TInjectableMethod.invoke(Object receiver, CreationalContext<T> creationalContext, ParameterValueRedefiner redefinition) Invoke the method, calling the parameter redefiner for each parameter, allowing the caller to override the default value obtained via the CDI type safe resolver.DummyInjectionTarget.produce(CreationalContext<T> ctx) -
Uses of CreationalContext in org.jboss.weld.bootstrap.event
Method parameters in org.jboss.weld.bootstrap.event with type arguments of type CreationalContextModifier and TypeMethodDescription<U extends T>
WeldBeanConfigurator<U>WeldBeanConfigurator.createWith(Function<CreationalContext<U>, U> callback) WeldBeanConfigurator.destroyWith(BiConsumer<T, CreationalContext<T>> callback) -
Uses of CreationalContext in org.jboss.weld.context.api
Methods in org.jboss.weld.context.api that return CreationalContext