@Address(value="/subsystem=microprofile-config") @Implicit public class MicroprofileConfig<T extends MicroprofileConfig<T>> extends Object implements org.wildfly.swarm.config.runtime.Keyed
| Modifier and Type | Class and Description |
|---|---|
static class |
MicroprofileConfig.MicroprofileConfigResources
Child mutators for MicroprofileConfig
|
| Constructor and Description |
|---|
MicroprofileConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
configSource(ConfigSource value)
Add the ConfigSource object to the list of subresources
|
T |
configSource(ConfigSourceSupplier supplier)
Install a supplied ConfigSource object to the list of subresources
|
T |
configSource(String childKey)
Create and configure a ConfigSource object to the list of subresources
|
T |
configSource(String childKey,
ConfigSourceConsumer consumer)
Create and configure a ConfigSource object to the list of subresources
|
T |
configSourceProvider(ConfigSourceProvider value)
Add the ConfigSourceProvider object to the list of subresources
|
T |
configSourceProvider(ConfigSourceProviderSupplier supplier)
Install a supplied ConfigSourceProvider object to the list of
subresources
|
T |
configSourceProvider(String childKey)
Create and configure a ConfigSourceProvider object to the list of
subresources
|
T |
configSourceProvider(String childKey,
ConfigSourceProviderConsumer consumer)
Create and configure a ConfigSourceProvider object to the list of
subresources
|
T |
configSourceProviders(List<ConfigSourceProvider> value)
Add all ConfigSourceProvider objects to this subresource
|
T |
configSources(List<ConfigSource> value)
Add all ConfigSource objects to this subresource
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
MicroprofileConfig.MicroprofileConfigResources |
subresources() |
public String getKey()
getKey in interface org.wildfly.swarm.config.runtime.Keyedpublic void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public MicroprofileConfig.MicroprofileConfigResources subresources()
public T configSources(List<ConfigSource> value)
value - List of ConfigSource objects.public T configSource(ConfigSource value)
value - The ConfigSource to addpublic T configSource(String childKey, ConfigSourceConsumer consumer)
key - The key for the ConfigSource resourceconfig - The ConfigSourceConsumer to usepublic T configSource(String childKey)
key - The key for the ConfigSource resourcepublic T configSource(ConfigSourceSupplier supplier)
public T configSourceProviders(List<ConfigSourceProvider> value)
value - List of ConfigSourceProvider objects.public T configSourceProvider(ConfigSourceProvider value)
value - The ConfigSourceProvider to addpublic T configSourceProvider(String childKey, ConfigSourceProviderConsumer consumer)
key - The key for the ConfigSourceProvider resourceconfig - The ConfigSourceProviderConsumer to usepublic T configSourceProvider(String childKey)
key - The key for the ConfigSourceProvider resourcepublic T configSourceProvider(ConfigSourceProviderSupplier supplier)
Copyright © 2018 JBoss by Red Hat. All rights reserved.