Uses of Interface
jakarta.enterprise.context.spi.CreationalContext
-
Packages that use CreationalContext Package Description jakarta.enterprise.context.spi The custom context SPI.jakarta.enterprise.inject.spi The portable extension integration SPI.jakarta.enterprise.inject.spi.configurator -
-
Uses of CreationalContext in jakarta.enterprise.context.spi
Methods in jakarta.enterprise.context.spi with parameters of type CreationalContext Modifier and Type Method Description TContextual. 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 CreationalContext Modifier and Type Method Description <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 CreationalContext Modifier and Type Method Description <T> InterceptionFactory<T>BeanManager. createInterceptionFactory(CreationalContext<T> ctx, java.lang.Class<T> clazz)Create anInterceptionFactoryfor the givenCreationalContextand type.java.lang.ObjectBeanManager. getInjectableReference(InjectionPoint ij, CreationalContext<?> ctx)Obtains an injectable reference for a certain injection point.java.lang.ObjectBeanContainer. getReference(Bean<?> bean, java.lang.reflect.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.TProducer. 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 CreationalContext Modifier and Type Method Description <U extends T>
BeanConfigurator<U>BeanConfigurator. createWith(java.util.function.Function<CreationalContext<U>,U> callback)Set a callback to create a bean instance.BeanConfigurator<T>BeanConfigurator. destroyWith(java.util.function.BiConsumer<T,CreationalContext<T>> callback)Set a callback to destroy a bean instance.<U extends T>
ProducerConfigurator<T>ProducerConfigurator. produceWith(java.util.function.Function<CreationalContext<U>,U> callback)Set a callback to produce a new instance.
-