in jakarta.enterprise.inject.spi.configurator">BeanConfigurator</a>&lt;U&gt;&nbsp;createWith(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true" title="class or interface in java.util.function">Function</a>&lt;<a href="../../../../../jakarta/enterprise/context/spi/CreationalContext.html" title="interface in jakarta.enterprise.context.spi">CreationalContext</a>&lt;U&gt;,U&gt;&nbsp;callback)</pre>
<div class="block">Set a callback to create a bean instance.</d