public class SlimImplConfigTable
extends java.lang.Object
| Constructor and Description |
|---|
SlimImplConfigTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguration(java.lang.String serviceName,
ConfigType configType,
java.lang.String canonicalName,
java.lang.String configuration)
Adds configuration for a class of specific service.
|
void |
addImplModules(java.lang.String serviceName,
java.util.Set<java.lang.Class<? extends com.google.inject.Module>> modules)
Add impl module configurations of the service.
|
void |
addModuleConfig(java.lang.String serviceName,
ConfigType type,
java.util.Set<java.lang.Class<? extends com.google.inject.Module>> modules)
Add module configurations of the service.
|
void |
addSlimModules(java.lang.String serviceName,
java.util.Set<java.lang.Class<? extends com.google.inject.Module>> modules)
Add slim module configurations of the service.
|
com.google.common.collect.Table<java.lang.String,ConfigType,SlimImplStructure> |
getConfigTable() |
SlimImplStructure |
getConfigurationTable(java.lang.String serviceName,
ConfigType type)
Fetches configuration for given service name.
|
public SlimImplStructure getConfigurationTable(java.lang.String serviceName, ConfigType type)
serviceName - Name of the service which class configuration is to be fetch.type - configuration object type ConfigTypeSlimImplStructure object.public com.google.common.collect.Table<java.lang.String,ConfigType,SlimImplStructure> getConfigTable()
public void addModuleConfig(java.lang.String serviceName,
ConfigType type,
java.util.Set<java.lang.Class<? extends com.google.inject.Module>> modules)
serviceName - Name of the service which module configuration is to be stored.type - type of ConfigType.modules - list of modules to be add.public void addSlimModules(java.lang.String serviceName,
java.util.Set<java.lang.Class<? extends com.google.inject.Module>> modules)
serviceName - Name of the service which module configuration is to be stored.modules - list of modules to be add.public void addImplModules(java.lang.String serviceName,
java.util.Set<java.lang.Class<? extends com.google.inject.Module>> modules)
serviceName - Name of the service which module configuration is to be stored.modules - list of modules to be add.public void addConfiguration(java.lang.String serviceName,
ConfigType configType,
java.lang.String canonicalName,
java.lang.String configuration)
serviceName - Name of the service which module configuration is to be stored.configType - configuration object type ConfigTypecanonicalName - canonical name of class for which configuration is to be stored.configuration - Configuration json of classCopyright © 2022. All rights reserved.