T- type which could be handled by
Supplierand this bridge.
public class SupplierFactoryBridge<T> extends Object implements Factory<T>
Supplierof the particular type and use this
Supplierto create a new instance. If the
Supplieris not found then
nullis returned. If the found
Supplieris a type of
DisposableSupplierthen this bridge can delegate
It's recommended to register the instance of this class as a singleton and then the
provide() is called according to
a provided scope (for the created instance) during the binding process.
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.