Uses of Interface
javax.enterprise.context.spi.CreationalContext
-
Packages that use CreationalContext Package Description javax.enterprise.context.spi The custom context SPI.javax.enterprise.inject.spi The portable extension integration SPI. -
-
Uses of CreationalContext in javax.enterprise.context.spi
Methods in javax.enterprise.context.spi with parameters of type CreationalContext Modifier and Type Method 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 callingContextual.create(CreationalContext)
and return the new instance. -
Uses of CreationalContext in javax.enterprise.inject.spi
Fields in javax.enterprise.inject.spi declared as CreationalContext Modifier and Type Field Description private CreationalContext<T>
Unmanaged.UnmanagedInstance. ctx
Methods in javax.enterprise.inject.spi that return CreationalContext Modifier and Type Method Description <T> CreationalContext<T>
BeanManager. createCreationalContext(Contextual<T> contextual)
Obtain an instance of aCreationalContext
for the given contextual type, or for a non-contextual object.Methods in javax.enterprise.inject.spi with parameters of type CreationalContext Modifier and Type Method Description java.lang.Object
BeanManager. getInjectableReference(InjectionPoint ij, CreationalContext<?> ctx)
Obtains an injectable reference for a certain injection point.java.lang.Object
BeanManager. 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.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 theProducer
.
-