Class ConfigurationValueService
- java.lang.Object
-
- de.bmiag.tapir.configuration.service.ConfigurationValueService
-
@Component("tapirConfigurationValueService") public class ConfigurationValueService extends java.lang.Object
TheConfigurationValueService
is responsible for providing the value of a givenConfiguration
.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Constructor Summary
Constructors Constructor Description ConfigurationValueService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getValue(java.lang.Class<? extends Configuration<T>> configuration)
Returns the value of the givenConfiguration
.
-
-
-
Method Detail
-
getValue
public <T> T getValue(java.lang.Class<? extends Configuration<T>> configuration)
Returns the value of the givenConfiguration
.- Type Parameters:
T
- Specifies the type of the configuration value- Parameters:
configuration
- The configuration which's value should be returned- Returns:
- the value
- Since:
- 2.0.0
-
-