Uses of Interface
jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Package
Description
The portable extension integration SPI.
-
Uses of BeanConfigurator in jakarta.enterprise.inject.spi
Modifier and TypeMethodDescription<T> BeanConfigurator<T>
AfterBeanDiscovery.addBean()
Obtains a newBeanConfigurator
to configure a newBean
and add it at the end of the observer invocation. -
Uses of BeanConfigurator in jakarta.enterprise.inject.spi.configurator
Modifier and TypeMethodDescriptionBeanConfigurator.addInjectionPoint
(InjectionPoint injectionPoint) Add an InjectionPoint to the configured beanBeanConfigurator.addInjectionPoints
(InjectionPoint... injectionPoints) Add InjectionPoints to the configured beanBeanConfigurator.addInjectionPoints
(Set<InjectionPoint> injectionPoints) Add InjectionPoints to the configured beanBeanConfigurator.addQualifier
(Annotation qualifier) Add a qualifier to the configured beanBeanConfigurator.addQualifiers
(Annotation... qualifiers) Add qualifiers to the bean.BeanConfigurator.addQualifiers
(Set<Annotation> qualifiers) Add qualifiers to the bean.BeanConfigurator.addStereotype
(Class<? extends Annotation> stereotype) Add a stereotype to the configured beanBeanConfigurator.addStereotypes
(Set<Class<? extends Annotation>> stereotypes) Add stereotypes to the configured beanBeanConfigurator.addTransitiveTypeClosure
(Type type) Adds an unrestricted set of bean types for the given type as if it represented a bean class of a managed bean.BeanConfigurator.addType
(TypeLiteral<?> typeLiteral) Add a type to the bean typesAdd a type to the bean typesAdd types to the bean typesAdd types to the bean typesBeanConfigurator.alternative
(boolean value) Change the alternative status of the configured bean.Set the class of the configured Bean.<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.BeanConfigurator.disposeWith
(BiConsumer<T, Instance<Object>> callback) Set a callback to destroy a bean instance.Make the configured bean implementsPassivationCapable
and its Id for passivation.BeanConfigurator.injectionPoints
(InjectionPoint... injectionPoints) Replace InjectionPoints for the configured beanBeanConfigurator.injectionPoints
(Set<InjectionPoint> injectionPoints) Replace InjectionPoints for the configured beanSet the name of the configured beanBeanConfigurator.priority
(int priority) Set the priority of the configured bean.<U extends T>
BeanConfigurator<U>BeanConfigurator.produceWith
(Function<Instance<Object>, U> callback) Set a callback to create a bean instance.BeanConfigurator.qualifiers
(Annotation... qualifiers) Replace all qualifiers.BeanConfigurator.qualifiers
(Set<Annotation> qualifiers) Replace all qualifiers.<U extends T>
BeanConfigurator<U>BeanConfigurator.read
(AnnotatedType<U> type) Read the information from the given annotated type.BeanConfigurator.read
(BeanAttributes<?> beanAttributes) Read the information from the given bean attributes.BeanConfigurator.scope
(Class<? extends Annotation> scope) Replace Bean scopeBeanConfigurator.stereotypes
(Set<Class<? extends Annotation>> stereotypes) Replace stereotypes on the configured beanReplace bean typesReplace bean types