Package com.qwazr.server
Interface GenericFactory<T>
- All Superinterfaces:
io.undertow.servlet.api.InstanceFactory<T>
- All Known Implementing Classes:
GenericFactory.FromInstance
,GenericFactory.FromSupplier
public interface GenericFactory<T>
extends io.undertow.servlet.api.InstanceFactory<T>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GenericFactory.FromInstance<T>
static class
GenericFactory.FromSupplier<T>
-
Method Summary
Static Methods Modifier and Type Method Description static <T> GenericFactory<T>
fromInstance(T instance)
static <T> GenericFactory<T>
fromSupplier(java.util.function.Supplier<T> supplier)