Class ConfigSourceProxy
- java.lang.Object
-
- fish.payara.nucleus.microprofile.config.source.extension.proxy.ConfigSourceProxy
-
- All Implemented Interfaces:
ExtensionConfigSource,org.eclipse.microprofile.config.spi.ConfigSource
public class ConfigSourceProxy extends Object implements ExtensionConfigSource
-
-
Constructor Summary
Constructors Constructor Description ConfigSourceProxy(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandeleteValue(String name)StringgetName()Map<String,String>getProperties()Set<String>getPropertyNames()StringgetSource()StringgetValue(String propertyName)voidsetDelegate(ExtensionConfigSource delegate)booleansetValue(String name, String value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fish.payara.nucleus.microprofile.config.source.extension.ExtensionConfigSource
bootstrap, destroy
-
-
-
-
Constructor Detail
-
ConfigSourceProxy
public ConfigSourceProxy(String name)
-
-
Method Detail
-
setDelegate
public void setDelegate(ExtensionConfigSource delegate)
-
getProperties
public Map<String,String> getProperties()
- Specified by:
getPropertiesin interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getPropertyNames
public Set<String> getPropertyNames()
- Specified by:
getPropertyNamesin interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getValue
public String getValue(String propertyName)
- Specified by:
getValuein interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getSource
public String getSource()
- Specified by:
getSourcein interfaceExtensionConfigSource
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
setValue
public boolean setValue(String name, String value)
- Specified by:
setValuein interfaceExtensionConfigSource
-
deleteValue
public boolean deleteValue(String name)
- Specified by:
deleteValuein interfaceExtensionConfigSource
-
-