Package | Description |
---|---|
javax.enterprise.inject.spi |
The portable extension integration SPI.
|
javax.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.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.