Package com.powsybl.commons.config
Interface PlatformConfigProvider
- All Known Implementing Classes:
ClassicPlatformConfigProvider
,TestPlatformConfigProvider
public interface PlatformConfigProvider
Provides the default PlatformConfig returned by
PlatformConfig.defaultConfig()
.
You must have exactly one implementation of this interface on the classpath
found by ServiceLoader
, which will be used to load it. In
normal use, The getPlatformConfig()
method will be called only once
and its result will be cached and reused for the whole duration of the app.- Author:
- Jon Harper <jon.harper at rte-france.com>
-
Method Summary
-
Method Details
-
getName
String getName() -
getPlatformConfig
PlatformConfig getPlatformConfig()
-