Uses of Interface
jakarta.enterprise.inject.spi.AnnotatedType
Package
Description
The portable extension integration SPI.
-
Uses of AnnotatedType in jakarta.enterprise.inject.spi
Modifier and TypeMethodDescription<T> AnnotatedType<T>
BeanManager.createAnnotatedType
(Class<T> type) Obtain anAnnotatedType
that may be used to read the annotations of the given class or interface.ProcessManagedBean.getAnnotatedBeanClass()
Returns theAnnotatedType
representing the bean class.<T> AnnotatedType<T>
AfterBeanDiscovery.getAnnotatedType
(Class<T> type, String id) Obtain theAnnotatedType
that may be used to read the annotations of the given class or interface as defined during container initialization.ProcessAnnotatedType.getAnnotatedType()
Returns theAnnotatedType
object that will be used by the container to read the declared annotations.ProcessInjectionTarget.getAnnotatedType()
Returns theAnnotatedType
representing the managed bean class, session bean class or other Java EE component class supporting injection.AnnotatedMember.getDeclaringType()
Get the type which defines this member.Modifier and TypeMethodDescription<T> Iterable<AnnotatedType<T>>
AfterBeanDiscovery.getAnnotatedTypes
(Class<T> type) Obtain theAnnotatedType
s that may be used to read the annotations of the given class or interface as defined during container initialization.Modifier and TypeMethodDescriptionvoid
AfterTypeDiscovery.addAnnotatedType
(AnnotatedType<?> type, String id) Adds a givenAnnotatedType
to the set of types which will be scanned during bean discovery.void
BeforeBeanDiscovery.addAnnotatedType
(AnnotatedType<?> type, String id) Adds a givenAnnotatedType
to the set of types which will be scanned during bean discovery.void
BeforeBeanDiscovery.addInterceptorBinding
(AnnotatedType<? extends Annotation> bindingType) Declares an annotation type as an interceptor binding type.void
BeforeBeanDiscovery.addQualifier
(AnnotatedType<? extends Annotation> qualifier) Declares an annotation type as a Qualifier qualifier type.<T> BeanAttributes<T>
BeanManager.createBeanAttributes
(AnnotatedType<T> type) Obtains aBeanAttributes
for the givenAnnotatedType
.<T> InjectionTargetFactory<T>
BeanManager.getInjectionTargetFactory
(AnnotatedType<T> annotatedType) An implementation ofInjectionTargetFactory
that provides container createdInjectionTarget
instances.void
ProcessAnnotatedType.setAnnotatedType
(AnnotatedType<X> type) Replaces theAnnotatedType
. -
Uses of AnnotatedType in jakarta.enterprise.inject.spi.configurator
Modifier and TypeMethodDescription<U extends T>
BeanConfigurator<U>BeanConfigurator.read
(AnnotatedType<U> type) Read the information from the given annotated type.