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 boolean
deleteValue(String name)
String
getName()
Map<String,String>
getProperties()
Set<String>
getPropertyNames()
String
getSource()
String
getValue(String propertyName)
void
setDelegate(ExtensionConfigSource delegate)
boolean
setValue(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:
getProperties
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getPropertyNames
public Set<String> getPropertyNames()
- Specified by:
getPropertyNames
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getValue
public String getValue(String propertyName)
- Specified by:
getValue
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getSource
public String getSource()
- Specified by:
getSource
in interfaceExtensionConfigSource
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
setValue
public boolean setValue(String name, String value)
- Specified by:
setValue
in interfaceExtensionConfigSource
-
deleteValue
public boolean deleteValue(String name)
- Specified by:
deleteValue
in interfaceExtensionConfigSource
-
-