Class CruxProvider

java.lang.Object
net.crux.ac.api.CruxProvider

public final class CruxProvider extends Object
Service Provider holder for CruxAPI.
  • Method Details

    • get

      public static CruxAPI get()
      Gets the registered CruxAPI instance.
      Returns:
      CruxAPI instance
      Throws:
      IllegalStateException - if CruxAC plugin is not yet loaded or initialized
    • register

      public static void register(CruxAPI api)
      Internal framework registration method. Should not be called by external plugins.
    • unregister

      public static void unregister()
      Internal framework unregistration method.