Package | Description |
---|---|
jakarta.enterprise.inject.spi |
The portable extension integration SPI.
|
jakarta.enterprise.inject.spi.configurator |
Modifier and Type | Method and Description |
---|---|
ProducerConfigurator<X> |
ProcessProducer.configureProducer()
Returns a
ProducerConfigurator initialized with the Producer processed by this event, to configure a new
Producer that will replace the original one at the end of the observer invocation. |
Modifier and Type | Method and Description |
---|---|
ProducerConfigurator<T> |
ProducerConfigurator.disposeWith(Consumer<T> callback)
Set a callback to destroy the produced instance.
|
<U extends T> |
ProducerConfigurator.produceWith(Function<CreationalContext<U>,U> callback)
Set a callback to produce a new instance.
|
Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.