Package | Description |
---|---|
javax.enterprise.inject.spi |
The portable extension integration SPI.
|
javax.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(java.util.Set<InjectionPoint> injectionPoints)
Add InjectionPoints to the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.addQualifier(java.lang.annotation.Annotation qualifier)
Add a qualifier to the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.addQualifiers(java.lang.annotation.Annotation... qualifiers)
Add qualifiers to the bean.
|
BeanConfigurator<T> |
BeanConfigurator.addQualifiers(java.util.Set<java.lang.annotation.Annotation> qualifiers)
Add qualifiers to the bean.
|
BeanConfigurator<T> |
BeanConfigurator.addStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype)
Add a stereotype to the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.addStereotypes(java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> stereotypes)
Add stereotypes to the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.addTransitiveTypeClosure(java.lang.reflect.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(java.lang.reflect.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(java.util.Set<java.lang.reflect.Type> types)
Add types to the bean types
|
BeanConfigurator<T> |
BeanConfigurator.addTypes(java.lang.reflect.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(java.lang.Class<?> beanClass)
Set the class of the configured Bean.
|
<U extends T> |
BeanConfigurator.createWith(java.util.function.Function<CreationalContext<U>,U> callback)
Set a callback to create a bean instance.
|
BeanConfigurator<T> |
BeanConfigurator.destroyWith(java.util.function.BiConsumer<T,CreationalContext<T>> callback)
Set a callback to destroy a bean instance.
|
BeanConfigurator<T> |
BeanConfigurator.disposeWith(java.util.function.BiConsumer<T,Instance<java.lang.Object>> callback)
Set a callback to destroy a bean instance.
|
BeanConfigurator<T> |
BeanConfigurator.id(java.lang.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(java.util.Set<InjectionPoint> injectionPoints)
Replace InjectionPoints for the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.name(java.lang.String name)
Set the name of the configured bean
|
<U extends T> |
BeanConfigurator.produceWith(java.util.function.Function<Instance<java.lang.Object>,U> callback)
Set a callback to create a bean instance.
|
BeanConfigurator<T> |
BeanConfigurator.qualifiers(java.lang.annotation.Annotation... qualifiers)
Replace all qualifiers.
|
BeanConfigurator<T> |
BeanConfigurator.qualifiers(java.util.Set<java.lang.annotation.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(java.lang.Class<? extends java.lang.annotation.Annotation> scope)
Replace Bean scope
|
BeanConfigurator<T> |
BeanConfigurator.stereotypes(java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> stereotypes)
Replace stereotypes on the configured bean
|
BeanConfigurator<T> |
BeanConfigurator.types(java.util.Set<java.lang.reflect.Type> types)
Replace bean types
|
BeanConfigurator<T> |
BeanConfigurator.types(java.lang.reflect.Type... types)
Replace bean types
|