Package fr.paris.lutece.util
Class LuteceOverrideConfigSource
java.lang.Object
fr.paris.lutece.util.LuteceOverrideConfigSource
- All Implemented Interfaces:
org.eclipse.microprofile.config.spi.ConfigSource
public class LuteceOverrideConfigSource
extends Object
implements org.eclipse.microprofile.config.spi.ConfigSource
MicroProfile
ConfigSource exposing the Lutece override configuration, that is the
.properties files located under the override/ and override/plugins directories.
This source declares a higher ordinal than LuteceConfigSource so that the override values take
precedence over the base ones when MicroProfile Config resolves a property.
-
Field Summary
Fields inherited from interface org.eclipse.microprofile.config.spi.ConfigSource
CONFIG_ORDINAL, DEFAULT_ORDINAL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.microprofile.config.spi.ConfigSource
getProperties
-
Constructor Details
-
LuteceOverrideConfigSource
public LuteceOverrideConfigSource()
-
-
Method Details
-
getOrdinal
public int getOrdinal()- Specified by:
getOrdinalin interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getName
- Specified by:
getNamein interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getPropertyNames
- Specified by:
getPropertyNamesin interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getValue
- Specified by:
getValuein interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-