Class LazyServiceProxy

java.lang.Object
io.github.connellite.container.internal.LazyServiceProxy

public final class LazyServiceProxy extends Object
JDK dynamic proxy that resolves the delegate from the registry on every method invocation.
  • Constructor Details

    • LazyServiceProxy

      public LazyServiceProxy()
  • Method Details

    • create

      public static <T> T create(Class<T> serviceType, Function<Class<T>,T> resolver)