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

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

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

    Subinterfaces of BeanAttributes in javax.enterprise.inject.spi
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Bean<T>` Represents an enabled bean.
    `interface` | `Decorator<T>` Represents an enabled decorator.
    `interface` | `Interceptor<T>` Represents an enabled interceptor.

    Methods in javax.enterprise.inject.spi that return BeanAttributes
    Modifier and Type | Method and Description
    --- | ---
    `BeanAttributes<?>` | BeanManager.`createBeanAttributes(AnnotatedMember<?> type)` Obtains a `BeanAttributes` for the given `AnnotatedType`.
    `<T> BeanAttributes<T>` | BeanManager.`createBeanAttributes(AnnotatedType<T> type)` Obtains a `BeanAttributes` for the given `AnnotatedType`.
    `BeanAttributes<T>` | ProcessBeanAttributes.`getBeanAttributes()`

    Methods in javax.enterprise.inject.spi with parameters of type BeanAttributes
    Modifier and Type | Method and Description
    --- | ---
    `<T> Bean<T>` | BeanManager.`createBean(BeanAttributes<T> attributes, Class<T> beanClass, InjectionTargetFactory<T> injectionTargetFactory)` Obtains a `Bean` for the given `BeanAttributes`, bean class and `InjectionTarget`.
    `<T,X> Bean<T>` | BeanManager.`createBean(BeanAttributes<T> attributes, Class<X> beanClass, ProducerFactory<X> producerFactory)` Obtains a `Bean` for the given `BeanAttributes`, bean class and `Producer`.
    `void` | ProcessBeanAttributes.`setBeanAttributes(BeanAttributes<T> beanAttributes)` Replaces the `BeanAttributes`.

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