Interface GuiceSetup

All Known Implementing Classes:
AbstractRESTGuiceSetup, BasicSetup, UserManagerSetup

public interface GuiceSetup
Bootstrap interface, replaces static *Loader types
Implementors MUST expose a public default constructor.
Instances of this interface are short-lived and created every time the GuiceBuilder needs to construct a new Injector
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    injectorCreated(com.google.inject.Injector injector)
    Allows any post-creation actions to be taken
    void
    registerModules(List<com.google.inject.Module> modules, GuiceConfig config)
    Request for the Setup implementation to add its required modules
  • Method Details

    • registerModules

      void registerModules(List<com.google.inject.Module> modules, GuiceConfig config)
      Request for the Setup implementation to add its required modules
      Parameters:
      modules - the mutable list of modules which will be used to create a new Injector
      config - the service.properties configuration data
    • injectorCreated

      void injectorCreated(com.google.inject.Injector injector)
      Allows any post-creation actions to be taken
      Parameters:
      injector -