@Service(name="microprofile-config-provider")
@ContractsProvided(value={org.eclipse.microprofile.config.spi.ConfigProviderResolver.class,ConfigProviderResolverImpl.class})
@RunLevel(value=9)
public class ConfigProviderResolverImpl
extends org.eclipse.microprofile.config.spi.ConfigProviderResolver
| Constructor and Description |
|---|
ConfigProviderResolverImpl()
Logs constructor as finest - may be useful to watch sequence of operations.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.microprofile.config.spi.ConfigBuilder |
getBuilder() |
org.eclipse.microprofile.config.Config |
getConfig() |
org.eclipse.microprofile.config.Config |
getConfig(ClassLoader loader) |
List<Properties> |
getDeployedApplicationPayaraExpressionConfigProperties(String applicationName) |
List<Properties> |
getDeployedApplicationProperties(String applicationName) |
String |
getDeployedApplicationProperty(String applicationName,
String name) |
MicroprofileConfigConfiguration |
getMPConfig() |
void |
postConstruct()
Sets the global
ConfigProviderResolver.instance() to this instance. |
void |
registerConfig(org.eclipse.microprofile.config.Config config,
ClassLoader classLoader) |
void |
releaseConfig(org.eclipse.microprofile.config.Config config) |
public ConfigProviderResolverImpl()
@PostConstruct public void postConstruct()
ConfigProviderResolver.instance() to this instance.public MicroprofileConfigConfiguration getMPConfig()
public org.eclipse.microprofile.config.Config getConfig()
getConfig in class org.eclipse.microprofile.config.spi.ConfigProviderResolverpublic org.eclipse.microprofile.config.Config getConfig(ClassLoader loader)
getConfig in class org.eclipse.microprofile.config.spi.ConfigProviderResolverpublic org.eclipse.microprofile.config.spi.ConfigBuilder getBuilder()
getBuilder in class org.eclipse.microprofile.config.spi.ConfigProviderResolverpublic void registerConfig(org.eclipse.microprofile.config.Config config,
ClassLoader classLoader)
registerConfig in class org.eclipse.microprofile.config.spi.ConfigProviderResolverpublic void releaseConfig(org.eclipse.microprofile.config.Config config)
releaseConfig in class org.eclipse.microprofile.config.spi.ConfigProviderResolverpublic List<Properties> getDeployedApplicationProperties(String applicationName)
public String getDeployedApplicationProperty(String applicationName, String name)
public List<Properties> getDeployedApplicationPayaraExpressionConfigProperties(String applicationName)
Copyright © 2020. All rights reserved.