Class AbstractRESTGuiceSetup
java.lang.Object
com.peterphi.std.guice.web.rest.setup.AbstractRESTGuiceSetup
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaddModules(List<com.google.inject.Module> modules, GuiceConfig config) Deprecated.final voidinjectorCreated(com.google.inject.Injector injector) Deprecated.Allows any post-creation actions to be takenabstract voidinjectorWasCreated(com.google.inject.Injector injector) Deprecated.voidregisterModules(List<com.google.inject.Module> modules, GuiceConfig config) Deprecated.Request for the Setup implementation to add its required modules
-
Constructor Details
-
AbstractRESTGuiceSetup
public AbstractRESTGuiceSetup()Deprecated.
-
-
Method Details
-
registerModules
Deprecated.Description copied from interface:GuiceSetupRequest for the Setup implementation to add its required modules- Specified by:
registerModulesin interfaceGuiceSetup- Parameters:
modules- the mutable list of modules which will be used to create a new Injectorconfig- the service.properties configuration data
-
addModules
Deprecated. -
injectorCreated
public final void injectorCreated(com.google.inject.Injector injector) Deprecated.Description copied from interface:GuiceSetupAllows any post-creation actions to be taken- Specified by:
injectorCreatedin interfaceGuiceSetup
-
injectorWasCreated
public abstract void injectorWasCreated(com.google.inject.Injector injector) Deprecated.
-