Package | Description |
---|---|
jakarta.enterprise.inject.spi |
The portable extension integration SPI.
|
jakarta.enterprise.inject.spi.configurator |
Modifier and Type | Method and Description |
---|---|
<T> BeanConfigurator<T> |
AfterBeanDiscovery.addBean()
Obtains a new
BeanConfigurator to configure a new Bean and add it at the end of the observer invocation. |
Modifier and Type | Method and Description |
---|---|
BeanConfigurator<T> |
BeanConfigurator.addInjectionPoint(InjectionPoint injectionPoint)
Add an InjectionPoint to the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.addInjectionPoints(InjectionPoint... injectionPoints)
Add InjectionPoints to the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.addInjectionPoints(Set<InjectionPoint> injectionPoints)
Add InjectionPoints to the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.addQualifier(Annotation qualifier)
Add a qualifier to the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.addQualifiers(Annotation... qualifiers)
Add qualifiers to the bean.
|
BeanConfigurator<T> |
BeanConfigurator.addQualifiers(Set<Annotation> qualifiers)
Add qualifiers to the bean.
|
BeanConfigurator<T> |
BeanConfigurator.addStereotype(Class<? extends Annotation> stereotype)
Add a stereotype to the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.addStereotypes(Set<Class<? extends Annotation>> stereotypes)
Add stereotypes to the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.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<T> |
BeanConfigurator.addType(Type type)
Add a type to the bean types
|
BeanConfigurator<T> |
BeanConfigurator.addType(TypeLiteral<?> typeLiteral)
Add a type to the bean types
|
BeanConfigurator<T> |
BeanConfigurator.addTypes(Set<Type> types)
Add types to the bean types
|
BeanConfigurator<T> |
BeanConfigurator.addTypes(Type... types)
Add types to the bean types
|
BeanConfigurator<T> |
BeanConfigurator.alternative(boolean value)
Change the alternative status of the configured bean.
|
BeanConfigurator<T> |
BeanConfigurator.beanClass(Class<?> beanClass)
Set the class of the configured Bean.
|
<U extends T> |
BeanConfigurator.createWith(Function<CreationalContext<U>,U> callback)
Set a callback to create a bean instance.
|
BeanConfigurator<T> |
BeanConfigurator.destroyWith(BiConsumer<T,CreationalContext<T>> callback)
Set a callback to destroy a bean instance.
|
BeanConfigurator<T> |
BeanConfigurator.disposeWith(BiConsumer<T,Instance<Object>> callback)
Set a callback to destroy a bean instance.
|
BeanConfigurator<T> |
BeanConfigurator.id(String id)
Make the configured bean implements
PassivationCapable and its Id for passivation. |
BeanConfigurator<T> |
BeanConfigurator.injectionPoints(InjectionPoint... injectionPoints)
Replace InjectionPoints for the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.injectionPoints(Set<InjectionPoint> injectionPoints)
Replace InjectionPoints for the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.name(String name)
Set the name of the configured bean
|
<U extends T> |
BeanConfigurator.produceWith(Function<Instance<Object>,U> callback)
Set a callback to create a bean instance.
|
BeanConfigurator<T> |
BeanConfigurator.qualifiers(Annotation... qualifiers)
Replace all qualifiers.
|
BeanConfigurator<T> |
BeanConfigurator.qualifiers(Set<Annotation> qualifiers)
Replace all qualifiers.
|
<U extends T> |
BeanConfigurator.read(AnnotatedType<U> type)
Read the information from the given annotated type.
|
BeanConfigurator<T> |
BeanConfigurator.read(BeanAttributes<?> beanAttributes)
Read the information from the given bean attributes.
|
BeanConfigurator<T> |
BeanConfigurator.scope(Class<? extends Annotation> scope)
Replace Bean scope
|
BeanConfigurator<T> |
BeanConfigurator.stereotypes(Set<Class<? extends Annotation>> stereotypes)
Replace stereotypes on the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.types(Set<Type> types)
Replace bean types
|
BeanConfigurator<T> |
BeanConfigurator.types(Type... types)
Replace bean types
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.