T- The return type of the producer method or the type of the producer field
public interface ProducerConfigurator<T>
This configurator is not thread safe and shall not be used concurrently.
|Modifier and Type||Method and Description|
Set a callback to destroy the produced instance.
Set a callback to produce a new instance.
<U extends T> ProducerConfigurator<T> produceWith(Function<CreationalContext<U>,U> callback)
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.