Class ResteasyProviderRegistry

java.lang.Object
com.peterphi.std.guice.web.rest.resteasy.ResteasyProviderRegistry

public class ResteasyProviderRegistry extends Object
Holds information about the REST classes this webapp uses
  • Constructor Details

    • ResteasyProviderRegistry

      public ResteasyProviderRegistry()
  • Method Details

    • register

      public static void register(Class<?> clazz)
      Register a provider class
      Parameters:
      clazz -
    • registerSingleton

      public static void registerSingleton(Object o)
    • getClasses

      public static List<Class<?>> getClasses()
      List the registered classes
      Returns:
    • getSingletons

      public static List<Object> getSingletons()
      List the registered singleton classes
      Returns: