Package io.smallrye.stork.integration
Class DefaultStorkInfrastructure
- java.lang.Object
-
- io.smallrye.stork.integration.DefaultStorkInfrastructure
-
- All Implemented Interfaces:
StorkInfrastructure
- Direct Known Subclasses:
ObservableStorkInfrastructure
public class DefaultStorkInfrastructure extends Object implements StorkInfrastructure
An implementation ofStorkInfrastructurethat creates utility objects fromdefaultSupplierand caches them
-
-
Constructor Summary
Constructors Constructor Description DefaultStorkInfrastructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tget(Class<T> utilityClass, Supplier<T> defaultSupplier)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.smallrye.stork.spi.StorkInfrastructure
getObservationCollector
-
-
-
-
Method Detail
-
get
public <T> T get(Class<T> utilityClass, Supplier<T> defaultSupplier)
- Specified by:
getin interfaceStorkInfrastructure
-
-