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
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
addModules
(List<com.google.inject.Module> modules, GuiceConfig config) Deprecated.final void
injectorCreated
(com.google.inject.Injector injector) Deprecated.Allows any post-creation actions to be takenabstract void
injectorWasCreated
(com.google.inject.Injector injector) Deprecated.void
registerModules
(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:GuiceSetup
Request for the Setup implementation to add its required modules- Specified by:
registerModules
in 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:GuiceSetup
Allows any post-creation actions to be taken- Specified by:
injectorCreated
in interfaceGuiceSetup
-
injectorWasCreated
public abstract void injectorWasCreated(com.google.inject.Injector injector) Deprecated.
-