Class Services

java.lang.Object
com.mrbysco.justenoughprofessions.platform.Services

public class Services extends Object
This class is used to load services from the service loader
  • Field Details

    • PLATFORM

      public static final IPlatformHelper PLATFORM
      The platform helper service
  • Constructor Details

    • Services

      public Services()
  • Method Details

    • load

      public static <T> T load(Class<T> clazz)
      Load a service from the service loader
      Type Parameters:
      T - The type of the service
      Parameters:
      clazz - The class of the service to load
      Returns:
      The loaded service