| Package | Description |
|---|---|
| javax.enterprise.inject.spi |
The portable extension integration SPI.
|
| javax.enterprise.inject.spi.configurator |
| Modifier and Type | Method and Description |
|---|---|
<T> AnnotatedTypeConfigurator<T> |
BeforeBeanDiscovery.addAnnotatedType(Class<T> type,
String id)
Obtains a new
AnnotatedTypeConfigurator to configure a new AnnotatedType and
add it to the set of types which will be scanned during bean discovery at the end of the observer invocation
Thanks to the id parameter, this method allows multiple annotated types, based on the same underlying type, to be defined with a builder. |
<T> AnnotatedTypeConfigurator<T> |
AfterTypeDiscovery.addAnnotatedType(Class<T> type,
String id)
Obtains a new
AnnotatedTypeConfigurator to configure a new AnnotatedType and
add it to the set of types which will be scanned during bean discovery at the end of the observer invocation. |
AnnotatedTypeConfigurator<T> |
InterceptionFactory.configure()
Returns an
AnnotatedTypeConfigurator to allow addition of interceptor binding on the instance's methods. |
default AnnotatedTypeConfigurator<T> |
InjectionTargetFactory.configure()
Returns an
AnnotatedTypeConfigurator to to configure the AnnotatedType used to create the InjectionTarget. |
AnnotatedTypeConfigurator<X> |
ProcessAnnotatedType.configureAnnotatedType()
Returns an
AnnotatedTypeConfigurator initialized with the AnnotatedType processed by this event
to configure a new AnnotatedType that will replace the original one at the end of the observer invocation. |
<T extends Annotation> |
BeforeBeanDiscovery.configureInterceptorBinding(Class<T> bindingType)
Obtains a new
AnnotatedTypeConfigurator to configure a new AnnotatedType
and declares it as an interceptor binding type. |
<T extends Annotation> |
BeforeBeanDiscovery.configureQualifier(Class<T> qualifier)
Obtains a new
AnnotatedTypeConfigurator to configure a new AnnotatedType
and declares it as a Qualifier qualifier type. |
| Modifier and Type | Method and Description |
|---|---|
AnnotatedTypeConfigurator<T> |
AnnotatedTypeConfigurator.add(Annotation annotation)
Add an annotation to the type.
|
AnnotatedTypeConfigurator<T> |
AnnotatedTypeConfigurator.remove(Predicate<Annotation> predicate)
Remove annotations that match the specified predicate.
|
default AnnotatedTypeConfigurator<T> |
AnnotatedTypeConfigurator.removeAll()
Remove all the annotations.
|
Copyright © 2008–2016 JBoss by Red Hat, Inc.. All rights reserved.