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

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

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

    Methods in javax.enterprise.inject.spi that return ProducerFactory
    Modifier and Type | Method and Description
    --- | ---
    `<X> ProducerFactory<X>` | BeanManager.`getProducerFactory(AnnotatedField<? super X> field, Bean<X> declaringBean)` An implementation of `ProducerFactory` that provides container created `Producer` instances for the given field.
    `<X> ProducerFactory<X>` | BeanManager.`getProducerFactory(AnnotatedMethod<? super X> method, Bean<X> declaringBean)` An implementation of `ProducerFactory` that provides container created `Producer` instances for the given method.

    Methods in javax.enterprise.inject.spi with parameters of type ProducerFactory
    Modifier and Type | Method and Description
    --- | ---
    `<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`.

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