ConfigurationService implementation.
| Modifier and Type | Field and Description |
|---|---|
| private static final CoreMessageLogger | |
| private ServiceRegistryImplementor | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | ConfigurationServiceImpl(Map<String, Object>
The map of settings settings)Constructs a ConfigurationServiceImpl |
| Modifier and Type | Method and Description |
|---|---|
| public <T> @Nullable T | |
| public <T> @Nullable T | getSetting(String
The name of the setting to get. name, ConfigurationService.The converter to apply converterImplements org. |
| public <T> @PolyNull T | |
| public <T> @PolyNull T | |
| public Map | getSettings()
Implements org. |
| public void | injectServices(ServiceRegistryImplementor
The registry serviceRegistry)Implements org. |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| serviceRegistry | back to summary |
|---|---|
| private ServiceRegistryImplementor serviceRegistry | |
| settings | back to summary |
|---|---|
| private final Map<String, Object> settings | |
| ConfigurationServiceImpl | back to summary |
|---|---|
| public ConfigurationServiceImpl(Map<String, Object> settings) Constructs a ConfigurationServiceImpl | |
| cast | back to summary |
|---|---|
public <T> @Nullable T cast(Class<T> expected, @Nullable Object candidate)
| |
| getSetting | back to summary |
|---|---|
| public <T> @Nullable T getSetting(String name, ConfigurationService. Implements org. Doc from org. Get the named setting, using the specified converter.
| |
| getSetting | back to summary |
|---|---|
public <T> @PolyNull T getSetting(String name, ConfigurationService.
| |
| getSetting | back to summary |
|---|---|
public <T> @PolyNull T getSetting(String name, Class<T> expected, @PolyNull T defaultValue)
| |
| getSettings | back to summary |
|---|---|
| public Map Implements org. Doc from org. Access to the complete map of config settings. The returned map is immutable | |
| injectServices | back to summary |
|---|---|
| public void injectServices(ServiceRegistryImplementor serviceRegistry) Implements org. Doc from org. Callback to inject the registry.
| |