Package com.peterphi.std.guice.apploader
Class BasicSetup
java.lang.Object
com.peterphi.std.guice.apploader.BasicSetup
- All Implemented Interfaces:
GuiceSetup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinjectorCreated(com.google.inject.Injector injector) Allows any post-creation actions to be takenvoidregisterModules(List<com.google.inject.Module> modules, GuiceConfig config) Request for the Setup implementation to add its required modules
-
Constructor Details
-
BasicSetup
public BasicSetup() -
BasicSetup
public BasicSetup(com.google.inject.Module... modules)
-
-
Method Details
-
registerModules
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
-
injectorCreated
public void injectorCreated(com.google.inject.Injector injector) Description copied from interface:GuiceSetupAllows any post-creation actions to be taken- Specified by:
injectorCreatedin interfaceGuiceSetup
-