Uses of Class
com.peterphi.std.guice.common.serviceprops.composite.GuiceConfig
Package
Description
-
Uses of GuiceConfig in com.peterphi.std.guice.apploader
Modifier 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
Modifier and TypeFieldDescriptionprotected GuiceConfig
GuiceModule.config
A reference to the Guice Config environment that is automatically set beforeAbstractModule.configure()
is called -
Uses of GuiceConfig in com.peterphi.std.guice.common.daemon
Modifier 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
Modifier 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
Modifier 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) -
Uses of GuiceConfig in com.peterphi.std.guice.common.serviceprops
Modifier and TypeFieldDescriptionprotected final GuiceConfig
ServicePropertiesModule.configuration
Modifier 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) ModifierConstructorDescriptionConfigRef
(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
-
Uses of GuiceConfig in com.peterphi.std.guice.common.serviceprops.jaxbref
ModifierConstructorDescriptionJAXBResourceFactory
(GuiceConfig config, JAXBSerialiserFactory factory) -
Uses of GuiceConfig in com.peterphi.std.guice.common.serviceprops.net
Modifier 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) -
Uses of GuiceConfig in com.peterphi.std.guice.freemarker
Modifier 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
Modifier and TypeMethodDescriptionorg.hibernate.cfg.Configuration
HibernateModule.getHibernateConfiguration
(GuiceConfig guiceConfig, String propertyFileName, HibernateObservingInterceptor interceptor) ModifierConstructorDescriptionHibernateModule
(com.codahale.metrics.MetricRegistry registry, GuiceConfig config) -
Uses of GuiceConfig in com.peterphi.std.guice.hibernate.module.ext
Modifier and TypeMethodDescriptionvoid
HibernateConfigurationValidator.validate
(org.hibernate.cfg.Configuration hibernateConfiguration, Properties hibernateProperties, GuiceConfig environmentConfiguration) -
Uses of GuiceConfig in com.peterphi.std.guice.hibernate.role
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionvoid
LiquibaseHibernateValidator.validate
(org.hibernate.cfg.Configuration hibernateConfiguration, Properties hibernateProperties, GuiceConfig environmentConfiguration) -
Uses of GuiceConfig in com.peterphi.std.guice.metrics.role
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionstatic String
ServiceNameHelper.getName
(GuiceConfig config, Class<?> iface, String... names) Get the name under which a given service interface is knownModifierConstructorDescriptionResteasyProxyClientFactoryImpl
(ResteasyClientFactoryImpl clientFactory, GuiceConfig config) -
Uses of GuiceConfig in com.peterphi.std.guice.web.rest
-
Uses of GuiceConfig in com.peterphi.std.guice.web.rest.auth.interceptor
ModifierConstructorDescriptionAuthConstraintInterceptorModule
(com.codahale.metrics.MetricRegistry metrics, GuiceConfig config) -
Uses of GuiceConfig in com.peterphi.std.guice.web.rest.auth.userprovider
ModifierConstructorDescriptionWebappAuthenticationModule
(com.codahale.metrics.MetricRegistry metrics, List<String> providerNames, GuiceConfig config) -
Uses of GuiceConfig in com.peterphi.std.guice.web.rest.setup
Modifier 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
ModifierConstructorDescriptionThymeleafTemplater
(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
Modifier and TypeMethodDescriptionvoid
UserManagerSetup.registerModules
(List<com.google.inject.Module> modules, GuiceConfig configuration) -
Uses of GuiceConfig in com.peterphi.usermanager.guice.authentication
Modifier 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)