Uses of Class
com.peterphi.std.guice.common.serviceprops.composite.GuiceConfig
Packages that use GuiceConfig
Package
Description
-
Uses of GuiceConfig in com.peterphi.std.guice.apploader
Methods in com.peterphi.std.guice.apploader with parameters of type GuiceConfigModifier and TypeMethodDescriptionvoid
GuiceRole.injectorCreated
(com.google.inject.Stage stage, ClassScannerFactory scannerFactory, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) Called once the Injector has been createdvoid
GuiceRole.register
(com.google.inject.Stage stage, ClassScannerFactory scannerFactory, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) Provides an opportunity to influence modules (adding, removing, reordering) being loaded.void
BasicSetup.registerModules
(List<com.google.inject.Module> modules, GuiceConfig config) void
GuiceSetup.registerModules
(List<com.google.inject.Module> modules, GuiceConfig config) Request for the Setup implementation to add its required modules -
Uses of GuiceConfig in com.peterphi.std.guice.common
Fields in com.peterphi.std.guice.common declared as GuiceConfigModifier and TypeFieldDescriptionprotected GuiceConfig
GuiceModule.config
A reference to the Guice Config environment that is automatically set beforeAbstractModule.configure()
is calledMethods in com.peterphi.std.guice.common with parameters of type GuiceConfigConstructors in com.peterphi.std.guice.common with parameters of type GuiceConfig -
Uses of GuiceConfig in com.peterphi.std.guice.common.daemon
Methods in com.peterphi.std.guice.common.daemon with parameters of type GuiceConfigModifier and TypeMethodDescriptionvoid
GuiceRecurringDaemon.setSleepTimeFromConfigIfSet
(GuiceConfig config) void
GuiceDailyDaemon.setTimeFromConfigIfSet
(GuiceConfig config) Overrides the default time set in the constructor with the value from the application config (if set) -
Uses of GuiceConfig in com.peterphi.std.guice.common.eagersingleton
Methods in com.peterphi.std.guice.common.eagersingleton with parameters of type GuiceConfigModifier and TypeMethodDescriptionvoid
BindEagerSingletonRole.injectorCreated
(com.google.inject.Stage stage, ClassScannerFactory scanner, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) void
BindEagerSingletonRole.register
(com.google.inject.Stage stage, ClassScannerFactory scannerFactory, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) -
Uses of GuiceConfig in com.peterphi.std.guice.common.logging
Methods in com.peterphi.std.guice.common.logging with parameters of type GuiceConfigModifier and TypeMethodDescriptionstatic void
LoggingModule.autoReconfigure
(GuiceConfig guice) static PropertyFile
LoggingModule.getProperties
(GuiceConfig guice) static void
LoggingModule.manualReconfigure
(GuiceConfig guice) static void
LoggingModule.preconfigure
(GuiceConfig config) Attempt to configure the logging system before the environment is fully prepared
Will be subsequently reconfigured by the LoggingModule being constructedstatic String
LoggingModule.readLogbackConfig
(GuiceConfig config) Constructors in com.peterphi.std.guice.common.logging with parameters of type GuiceConfig -
Uses of GuiceConfig in com.peterphi.std.guice.common.serviceprops
Fields in com.peterphi.std.guice.common.serviceprops declared as GuiceConfigModifier and TypeFieldDescriptionprotected final GuiceConfig
ServicePropertiesModule.configuration
Methods in com.peterphi.std.guice.common.serviceprops that return GuiceConfigMethods in com.peterphi.std.guice.common.serviceprops with parameters of type GuiceConfigModifier and TypeMethodDescriptionConfigurationProperty.getLiveValueForUI
(GuiceConfig config, String defaultOrSensitiveResult) void
InternalConfigPropertyDocumenterGuiceRole.injectorCreated
(com.google.inject.Stage stage, ClassScannerFactory scannerFactory, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) void
InternalConfigPropertyDocumenterGuiceRole.register
(com.google.inject.Stage stage, ClassScannerFactory scannerFactory, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) Constructors in com.peterphi.std.guice.common.serviceprops with parameters of type GuiceConfigModifierConstructorDescriptionConfigRef
(GuiceConfig configuration, String name) ConfigurationProperty
(ConfigurationPropertyRegistry registry, GuiceConfig configuration, String name) ConfigurationPropertyRegistry
(GuiceConfig configuration) ConfigurationPropertyRegistryModule
(GuiceConfig configuration, AtomicReference<com.google.inject.Injector> injectorRef) ServicePropertiesModule
(GuiceConfig configuration) -
Uses of GuiceConfig in com.peterphi.std.guice.common.serviceprops.composite
Methods in com.peterphi.std.guice.common.serviceprops.composite with parameters of type GuiceConfig -
Uses of GuiceConfig in com.peterphi.std.guice.common.serviceprops.jaxbref
Constructors in com.peterphi.std.guice.common.serviceprops.jaxbref with parameters of type GuiceConfigModifierConstructorDescriptionJAXBResourceFactory
(GuiceConfig config, JAXBSerialiserFactory factory) -
Uses of GuiceConfig in com.peterphi.std.guice.common.serviceprops.net
Fields in com.peterphi.std.guice.common.serviceprops.net declared as GuiceConfigMethods in com.peterphi.std.guice.common.serviceprops.net with parameters of type GuiceConfigModifier and TypeMethodDescriptionvoid
NetworkConfigGuiceRole.injectorCreated
(com.google.inject.Stage stage, ClassScannerFactory scannerFactory, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) void
NetworkConfigGuiceRole.register
(com.google.inject.Stage stage, ClassScannerFactory scannerFactory, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) Constructors in com.peterphi.std.guice.common.serviceprops.net with parameters of type GuiceConfig -
Uses of GuiceConfig in com.peterphi.std.guice.freemarker
Methods in com.peterphi.std.guice.freemarker with parameters of type GuiceConfigModifier and TypeMethodDescriptionFreemarkerModule.createFreemarker
(javax.servlet.ServletContext context, FreemarkerURLHelper urlHelper, GuiceConfig configuration) FreemarkerModule.createURLHelper
(URI restEndpoint, URI webappEndpoint, String restPrefix, GuiceConfig configuration) -
Uses of GuiceConfig in com.peterphi.std.guice.hibernate.module
Methods in com.peterphi.std.guice.hibernate.module with parameters of type GuiceConfigModifier and TypeMethodDescriptionorg.hibernate.cfg.Configuration
HibernateModule.getHibernateConfiguration
(GuiceConfig guiceConfig, String propertyFileName, HibernateObservingInterceptor interceptor) Constructors in com.peterphi.std.guice.hibernate.module with parameters of type GuiceConfigModifierConstructorDescriptionHibernateModule
(com.codahale.metrics.MetricRegistry registry, GuiceConfig config) -
Uses of GuiceConfig in com.peterphi.std.guice.hibernate.module.ext
Methods in com.peterphi.std.guice.hibernate.module.ext with parameters of type GuiceConfigModifier and TypeMethodDescriptionvoid
HibernateConfigurationValidator.validate
(org.hibernate.cfg.Configuration hibernateConfiguration, Properties hibernateProperties, GuiceConfig environmentConfiguration) -
Uses of GuiceConfig in com.peterphi.std.guice.hibernate.role
Methods in com.peterphi.std.guice.hibernate.role with parameters of type GuiceConfigModifier and TypeMethodDescriptionvoid
HibernateAutoGuiceRole.injectorCreated
(com.google.inject.Stage stage, ClassScannerFactory scanner, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) void
HibernateAutoGuiceRole.register
(com.google.inject.Stage stage, ClassScannerFactory scanner, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) -
Uses of GuiceConfig in com.peterphi.std.guice.hibernatetest
Methods in com.peterphi.std.guice.hibernatetest with parameters of type GuiceConfigModifier and TypeMethodDescriptionvoid
DbunitGuiceRole.injectorCreated
(com.google.inject.Stage stage, ClassScannerFactory scanner, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) void
DbunitGuiceRole.register
(com.google.inject.Stage stage, ClassScannerFactory scanner, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) -
Uses of GuiceConfig in com.peterphi.std.guice.liquibase.hibernate
Methods in com.peterphi.std.guice.liquibase.hibernate with parameters of type GuiceConfigModifier and TypeMethodDescriptionvoid
LiquibaseHibernateValidator.validate
(org.hibernate.cfg.Configuration hibernateConfiguration, Properties hibernateProperties, GuiceConfig environmentConfiguration) -
Uses of GuiceConfig in com.peterphi.std.guice.metrics.role
Methods in com.peterphi.std.guice.metrics.role with parameters of type GuiceConfigModifier and TypeMethodDescriptionvoid
MetricsServiceAutoRegisterRole.injectorCreated
(com.google.inject.Stage stage, ClassScannerFactory scanner, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) void
MetricsServiceAutoRegisterRole.register
(com.google.inject.Stage stage, ClassScannerFactory scanner, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) -
Uses of GuiceConfig in com.peterphi.std.guice.restclient
Methods in com.peterphi.std.guice.restclient with parameters of type GuiceConfigModifier and TypeMethodDescriptionvoid
OkHttpAutoClientRole.injectorCreated
(com.google.inject.Stage stage, ClassScannerFactory scannerFactory, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) void
OkHttpAutoClientRole.register
(com.google.inject.Stage stage, ClassScannerFactory scannerFactory, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) -
Uses of GuiceConfig in com.peterphi.std.guice.restclient.resteasy.impl
Methods in com.peterphi.std.guice.restclient.resteasy.impl with parameters of type GuiceConfigModifier and TypeMethodDescriptionstatic String
ServiceNameHelper.getName
(GuiceConfig config, Class<?> iface, String... names) Get the name under which a given service interface is knownConstructors in com.peterphi.std.guice.restclient.resteasy.impl with parameters of type GuiceConfigModifierConstructorDescriptionResteasyProxyClientFactoryImpl
(ResteasyClientFactoryImpl clientFactory, GuiceConfig config) -
Uses of GuiceConfig in com.peterphi.std.guice.web.rest
Constructors in com.peterphi.std.guice.web.rest with parameters of type GuiceConfig -
Uses of GuiceConfig in com.peterphi.std.guice.web.rest.auth.interceptor
Constructors in com.peterphi.std.guice.web.rest.auth.interceptor with parameters of type GuiceConfigModifierConstructorDescriptionAuthConstraintInterceptorModule
(com.codahale.metrics.MetricRegistry metrics, GuiceConfig config) -
Uses of GuiceConfig in com.peterphi.std.guice.web.rest.auth.userprovider
Constructors in com.peterphi.std.guice.web.rest.auth.userprovider with parameters of type GuiceConfigModifierConstructorDescriptionWebappAuthenticationModule
(com.codahale.metrics.MetricRegistry metrics, List<String> providerNames, GuiceConfig config) -
Uses of GuiceConfig in com.peterphi.std.guice.web.rest.setup
Methods in com.peterphi.std.guice.web.rest.setup with parameters of type GuiceConfigModifier and TypeMethodDescriptionabstract void
AbstractRESTGuiceSetup.addModules
(List<com.google.inject.Module> modules, GuiceConfig config) Deprecated.void
AutoJAXRSBindingGuiceRole.injectorCreated
(com.google.inject.Stage stage, ClassScannerFactory scanner, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) void
WebappGuiceRole.injectorCreated
(com.google.inject.Stage stage, ClassScannerFactory scanner, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) void
AutoJAXRSBindingGuiceRole.register
(com.google.inject.Stage stage, ClassScannerFactory scannerFactory, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) void
WebappGuiceRole.register
(com.google.inject.Stage stage, ClassScannerFactory scanner, GuiceConfig config, GuiceSetup setup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> injectorRef, com.codahale.metrics.MetricRegistry metrics) void
AbstractRESTGuiceSetup.registerModules
(List<com.google.inject.Module> modules, GuiceConfig config) Deprecated. -
Uses of GuiceConfig in com.peterphi.std.guice.web.rest.templating.thymeleaf
Constructors in com.peterphi.std.guice.web.rest.templating.thymeleaf with parameters of type GuiceConfigModifierConstructorDescriptionThymeleafTemplater
(org.thymeleaf.TemplateEngine engine, GuiceConfig configuration, com.codahale.metrics.MetricRegistry metrics, com.google.inject.Provider<CurrentUser> userProvider) ThymeleafTemplater
(org.thymeleaf.TemplateEngine engine, GuiceConfig configuration, com.codahale.metrics.MetricRegistry metrics, com.google.inject.Provider<CurrentUser> userProvider, boolean isTransientInstance) -
Uses of GuiceConfig in com.peterphi.usermanager.guice
Methods in com.peterphi.usermanager.guice with parameters of type GuiceConfigModifier and TypeMethodDescriptionvoid
UserManagerSetup.registerModules
(List<com.google.inject.Module> modules, GuiceConfig configuration) -
Uses of GuiceConfig in com.peterphi.usermanager.guice.authentication
Methods in com.peterphi.usermanager.guice.authentication with parameters of type GuiceConfigModifier and TypeMethodDescriptionvoid
UserManagerAuthenticationGuiceRole.injectorCreated
(com.google.inject.Stage stage, ClassScannerFactory classScannerFactory, GuiceConfig guiceConfig, GuiceSetup guiceSetup, List<com.google.inject.Module> list, AtomicReference<com.google.inject.Injector> atomicReference, com.codahale.metrics.MetricRegistry metricRegistry) void
UserManagerAuthenticationGuiceRole.register
(com.google.inject.Stage stage, ClassScannerFactory classScannerFactory, GuiceConfig guiceConfig, GuiceSetup guiceSetup, List<com.google.inject.Module> modules, AtomicReference<com.google.inject.Injector> atomicReference, com.codahale.metrics.MetricRegistry metricRegistry)