Package net.jqwik.api

Class FacadeLoader

java.lang.Object
net.jqwik.api.FacadeLoader

@API(status=INTERNAL) public class FacadeLoader extends Object
  • Constructor Details

    • FacadeLoader

      public FacadeLoader()
  • Method Details

    • load

      public static <T> T load(Class<T> facadeClass)
      Load single implementation of an API facade. This should be registered as service provider in the jqwik engine module. There must be exactly one facade registered otherwise null will be returned and a severe error is logged. This method need not be synchronized because it's only called from static initializers.
      Type Parameters:
      T - the facade type
      Parameters:
      facadeClass - The facade type to load
      Returns:
      instance of facade