Uses of Interface
jakarta.enterprise.context.spi.CreationalContext
Packages that use CreationalContext
Package
Description
The custom context SPI.
The portable extension integration SPI.
-
Uses of CreationalContext in com.sun.faces.application.view
Methods in com.sun.faces.application.view with parameters of type CreationalContextModifier and TypeMethodDescription<T> T
ViewScopeContextManager.createBean
(FacesContext facesContext, Contextual<T> contextual, CreationalContext<T> creational) Create the bean.<T> T
ViewScopeContext.get
(Contextual<T> contextual, CreationalContext<T> creational) Get the existing instance of the ViewScoped bean for the given contextual or create a new one. -
Uses of CreationalContext in com.sun.faces.cdi
Methods in com.sun.faces.cdi with parameters of type CreationalContextModifier and TypeMethodDescriptionstatic InjectionPoint
CdiUtils.getCurrentInjectionPoint
(BeanManager beanManager, CreationalContext<?> creationalContext) Returns the current injection point. -
Uses of CreationalContext in com.sun.faces.cdi.clientwindow
Methods in com.sun.faces.cdi.clientwindow with parameters of type CreationalContextModifier and TypeMethodDescription<T> T
ClientWindowScopeContextManager.createBean
(FacesContext facesContext, Contextual<T> contextual, CreationalContext<T> creational) Create the bean.<T> T
ClientWindowScopeContext.get
(Contextual<T> contextual, CreationalContext<T> creational) Get the existing instance of the ClientWindowScoped bean for the given contextual or create a new one. -
Uses of CreationalContext in com.sun.faces.flow
Methods in com.sun.faces.flow with parameters of type CreationalContextModifier and TypeMethodDescription<T> T
FlowCDIContext.get
(Contextual<T> contextual, CreationalContext<T> creational) -
Uses of CreationalContext in com.sun.faces.util
Methods in com.sun.faces.util that return CreationalContextModifier and TypeMethodDescription<T> CreationalContext
<T> ELAwareBeanManagerWrapper.createCreationalContext
(Contextual<T> contextual) Methods in com.sun.faces.util with parameters of type CreationalContextModifier and TypeMethodDescription<T> InterceptionFactory
<T> ELAwareBeanManagerWrapper.createInterceptionFactory
(CreationalContext<T> ctx, Class<T> clazz) ELAwareBeanManagerWrapper.getInjectableReference
(InjectionPoint ij, CreationalContext<?> ctx) ELAwareBeanManagerWrapper.getReference
(Bean<?> bean, Type beanType, CreationalContext<?> ctx) -
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.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 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 aCreationalContext
for 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 anInterceptionFactory
for the givenCreationalContext
and 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.void
InjectionTarget.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.