| 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. |
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. |
| Modifier and Type | Method and Description |
|---|---|
AnnotatedTypeConfigurator<T> |
AnnotatedTypeConfigurator.add(Annotation annotation)
Add an annotation to the field.
|
AnnotatedTypeConfigurator<T> |
AnnotatedTypeConfigurator.remove(Annotation annotation)
Remove annotations with (a) the same type and (b) the same annotation member value for each member which is not
annotated
Nonbinding. |
AnnotatedTypeConfigurator<T> |
AnnotatedTypeConfigurator.remove(Class<? extends Annotation> annotationType)
Removes all annotations with the same type.
|
AnnotatedTypeConfigurator<T> |
AnnotatedTypeConfigurator.removeAll()
Remove all annotations from the type.
|
Copyright © 2008–2016 JBoss by Red Hat, Inc.. All rights reserved.