Package com.powsybl.commons.config
Interface PlatformConfigProvider
-
- All Known Implementing Classes:
ClassicPlatformConfigProvider
,TestPlatformConfigProvider
public interface PlatformConfigProvider
Provides the default PlatformConfig returned byPlatformConfig.defaultConfig()
. You must have exactly one implementation of this interface on the classpath found byServiceLoader
, which will be used to load it. In normal use, ThegetPlatformConfig()
method will be called only once and its result will be cached and reused for the whole duration of the app.- Author:
- Jon Harper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
PlatformConfig
getPlatformConfig()
-
-
-
Method Detail
-
getName
String getName()
-
getPlatformConfig
PlatformConfig getPlatformConfig()
-
-