## Uses of Interface
javax.enterprise.inject.spi.AnnotatedType

- Packages that use AnnotatedType
  Package | Description
  --- | ---
  javax.enterprise.inject.spi | The portable extension integration SPI.

- - ### Uses of AnnotatedType in javax.enterprise.inject.spi

    Methods in javax.enterprise.inject.spi that return AnnotatedType
    Modifier and Type | Method and Description
    --- | ---
    `<T> AnnotatedType<T>` | BeanManager.`createAnnotatedType(Class<T> type)` Obtain an `AnnotatedType` that may be used to read the annotations of the given class or interface.
    `AnnotatedType<X>` | ProcessManagedBean.`getAnnotatedBeanClass()` Returns the `AnnotatedType` representing the bean class.
    `AnnotatedType<X>` | ProcessInjectionTarget.`getAnnotatedType()` Returns the `AnnotatedType` representing the managed bean class, session bean class or other Java EE component class supporting injection.
    `AnnotatedType<X>` | ProcessAnnotatedType.`getAnnotatedType()` Returns the `AnnotatedType` object that will be used by the container to read the declared annotations.
    `<T> AnnotatedType<T>` | AfterBeanDiscovery.`getAnnotatedType(Class<T> type, String id)` Obtain the `AnnotatedType` that may be used to read the annotations of the given class or interface as defined during container initialization.
    `AnnotatedType<X>` | AnnotatedMember.`getDeclaringType()` Get the type which defines this member.

    Methods in javax.enterprise.inject.spi that return types with arguments of type AnnotatedType
    Modifier and Type | Method and Description
    --- | ---
    `<T> Iterable<AnnotatedType<T>>` | AfterBeanDiscovery.`getAnnotatedTypes(Class<T> type)` Obtain the `AnnotatedType`s that may be used to read the annotations of the given class or interface as defined during container initialization.

    Methods in javax.enterprise.inject.spi with parameters of type AnnotatedType
    Modifier and Type | Method and Description
    --- | ---
    `void` | BeforeBeanDiscovery.`addAnnotatedType(AnnotatedType<?> type)` Adds a given `AnnotatedType` to the set of types which will be scanned during bean discovery.
    `void` | BeforeBeanDiscovery.`addAnnotatedType(AnnotatedType<?> type, String id)` Adds a given `AnnotatedType` to the set of types which will be scanned during bean discovery.
    `void` | AfterTypeDiscovery.`addAnnotatedType(AnnotatedType<?> type, String id)` Adds a given `AnnotatedType` 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 a `BeanAttributes` for the given `AnnotatedType`.
    `<T> InjectionTarget<T>` | BeanManager.`createInjectionTarget(AnnotatedType<T> type)` Obtains an `InjectionTarget` for the given `AnnotatedType`.
    `<T> InjectionTargetFactory<T>` | BeanManager.`getInjectionTargetFactory(AnnotatedType<T> annotatedType)` An implementation of `InjectionTargetFactory` that provides container created `InjectionTarget` instances.
    `void` | ProcessAnnotatedType.`setAnnotatedType(AnnotatedType<X> type)` Replaces the `AnnotatedType`.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.