MetaborgModule¶
-
public class
MetaborgModule
extends AbstractModule¶ Guice module that specifies which implementations to use for services and factories.
Fields¶
autoClosableBinder¶
-
protected Multibinder<AutoCloseable>
autoClosableBinder
¶
contextFactoryBinder¶
-
protected MapBinder<String, IContextFactory>
contextFactoryBinder
¶
contextStrategyBinder¶
-
protected MapBinder<String, IContextStrategy>
contextStrategyBinder
¶
languageCacheBinder¶
-
protected Multibinder<ILanguageCache>
languageCacheBinder
¶
languagePathProviderBinder¶
-
protected Multibinder<ILanguagePathProvider>
languagePathProviderBinder
¶
Constructors¶
MetaborgModule¶
-
public
MetaborgModule
(ClassLoader resourceClassLoader)¶
Methods¶
bindContextFactories¶
-
protected void
bindContextFactories
(MapBinder<String, IContextFactory> binder)¶
bindContextStrategies¶
-
protected void
bindContextStrategies
(MapBinder<String, IContextStrategy> binder)¶
bindLanguagePathProviders¶
-
protected void
bindLanguagePathProviders
(Multibinder<ILanguagePathProvider> binder)¶