Package io.quarkus.arc.impl
Class InjectableReferenceProviders
- java.lang.Object
-
- io.quarkus.arc.impl.InjectableReferenceProviders
-
public final class InjectableReferenceProviders extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> void
destroy(InjectableReferenceProvider<T> provider, T instance, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
Unwraps the provider if necessary and invokesContextual.destroy(Object, CreationalContext)
.
-
-
-
Method Detail
-
destroy
public static <T> void destroy(InjectableReferenceProvider<T> provider, T instance, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
Unwraps the provider if necessary and invokesContextual.destroy(Object, CreationalContext)
.If there is a parent context available then attempt to remove the dependent instance.
- Type Parameters:
T
-- Parameters:
provider
-instance
-creationalContext
-- Throws:
IllegalArgumentException
- If the specified provider is not a bean
-
-