@Beta public class ConditionalModule<T> extends AbstractConfigurationAwareModule
| Modifier and Type | Method and Description |
|---|---|
static <T> com.google.inject.Module |
installModuleIf(Class<T> config,
Predicate<T> predicate,
com.google.inject.Module module) |
static <T> com.google.inject.Module |
installModuleIf(Class<T> config,
Predicate<T> predicate,
com.google.inject.Module module,
com.google.inject.Module otherwise) |
protected void |
setup(com.google.inject.Binder binder) |
buildConfigObject, buildConfigObject, configure, install, setConfigurationFactorypublic static <T> com.google.inject.Module installModuleIf(Class<T> config, Predicate<T> predicate, com.google.inject.Module module, com.google.inject.Module otherwise)
public static <T> com.google.inject.Module installModuleIf(Class<T> config, Predicate<T> predicate, com.google.inject.Module module)
protected void setup(com.google.inject.Binder binder)
setup in class AbstractConfigurationAwareModuleCopyright © 2010–2024 Airlift. All rights reserved.