@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 implements EventListener
EventListener.Event<T>
Constructor and Description |
---|
ConfigProviderResolverImpl()
Logs constructor as finest - may be useful to watch sequence of operations.
|
Modifier and Type | Method and Description |
---|---|
void |
event(EventListener.Event<?> event)
Process a Glassfish/Payara event
|
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) |
PayaraExecutorService |
getExecutor() |
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.ConfigProviderResolver
public org.eclipse.microprofile.config.Config getConfig(ClassLoader loader)
getConfig
in class org.eclipse.microprofile.config.spi.ConfigProviderResolver
public org.eclipse.microprofile.config.spi.ConfigBuilder getBuilder()
getBuilder
in class org.eclipse.microprofile.config.spi.ConfigProviderResolver
public PayaraExecutorService getExecutor()
public void registerConfig(org.eclipse.microprofile.config.Config config, ClassLoader classLoader)
registerConfig
in class org.eclipse.microprofile.config.spi.ConfigProviderResolver
public void releaseConfig(org.eclipse.microprofile.config.Config config)
releaseConfig
in class org.eclipse.microprofile.config.spi.ConfigProviderResolver
public List<Properties> getDeployedApplicationProperties(String applicationName)
public String getDeployedApplicationProperty(String applicationName, String name)
public List<Properties> getDeployedApplicationPayaraExpressionConfigProperties(String applicationName)
public void event(EventListener.Event<?> event)
EventListener
event
in interface EventListener
Copyright © 2021. All rights reserved.