Class AbstractRESTGuiceSetup

java.lang.Object
com.peterphi.std.guice.web.rest.setup.AbstractRESTGuiceSetup
All Implemented Interfaces:
GuiceSetup

@Deprecated public abstract class AbstractRESTGuiceSetup extends Object implements GuiceSetup
Deprecated.
no longer required, extend GuiceSetup directly instead. This class will be removed in a future release.
Abstract GuiceSetup implementation that registers standard functionality we offer to REST service modules
  • Constructor Details

    • AbstractRESTGuiceSetup

      public AbstractRESTGuiceSetup()
      Deprecated.
  • Method Details

    • registerModules

      public void registerModules(List<com.google.inject.Module> modules, GuiceConfig config)
      Deprecated.
      Description copied from interface: GuiceSetup
      Request for the Setup implementation to add its required modules
      Specified by:
      registerModules in interface GuiceSetup
      Parameters:
      modules - the mutable list of modules which will be used to create a new Injector
      config - the service.properties configuration data
    • addModules

      public abstract void addModules(List<com.google.inject.Module> modules, GuiceConfig config)
      Deprecated.
    • injectorCreated

      public final void injectorCreated(com.google.inject.Injector injector)
      Deprecated.
      Description copied from interface: GuiceSetup
      Allows any post-creation actions to be taken
      Specified by:
      injectorCreated in interface GuiceSetup
    • injectorWasCreated

      public abstract void injectorWasCreated(com.google.inject.Injector injector)
      Deprecated.