T- type which could be handled by
Supplierand this bridge.
public class InstanceSupplierFactoryBridge<T> extends Object implements Factory<T>
HK2 Factoryand JDK
Supplier. Using this class
Supplieris able to behave as a factory in service locator. The bridge just delegates all invocations to provided
ServiceLocatorand therefore all operation should be in proper scope and context.
This bridge is dedicated to instance binding therefore underlying
supplier is always only single instance.
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.