Class MailSoySauceModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- com.google.gerrit.extensions.config.FactoryModule
-
- com.google.gerrit.server.cache.CacheModule
-
- com.google.gerrit.server.mail.send.MailSoySauceModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class MailSoySauceModule extends CacheModule
Provides support for soy templatesModule loads templates with
MailSoySauceLoaderand caches compiled templates. The cache refreshes automatically, so Gerrit does not need to be restarted if templates are changed.
-
-
Field Summary
-
Fields inherited from class com.google.gerrit.server.cache.CacheModule
MEMORY_MODULE, PERSISTENT_MODULE
-
-
Constructor Summary
Constructors Constructor Description MailSoySauceModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigure()-
Methods inherited from class com.google.gerrit.server.cache.CacheModule
cache, cache, cache, persist, persist, persist
-
Methods inherited from class com.google.gerrit.extensions.config.FactoryModule
factory
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-