A ProducerConfigurator can configure a Producer. The container must provide an implementation of this
interface.
This configurator is not thread safe and shall not be used concurrently.
CDI Lite implementations are not required to provide support for Portable Extensions.
ProcessProducer#configureProducer()
| Modifier and Type | Method and Description |
|---|---|
| public ProducerConfigurator | Returns: selfa callback)Consumer defining the callback to setSet a callback to destroy the produced instance. |
| public < instance type U extends T> ProducerConfigurator | Returns: selfa callback)Function defining the callback to setSet a callback to produce a new instance. |
| disposeWith | back to summary |
|---|---|
| public ProducerConfigurator Set a callback to destroy the produced instance.
| |
| produceWith | back to summary |
|---|---|
| public <U extends T> ProducerConfigurator Set a callback to produce a new instance.
| |