2024-04-01 10:16:19 +02:00
|
|
|
package eu.eudat.service.lock;
|
2024-03-21 08:46:18 +01:00
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
|
|
|
|
@Configuration
|
|
|
|
@EnableConfigurationProperties(LockProperties.class)
|
|
|
|
public class LockConfiguration {
|
|
|
|
private final LockProperties properties;
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
public LockConfiguration(LockProperties properties) {
|
|
|
|
this.properties = properties;
|
|
|
|
}
|
|
|
|
|
|
|
|
public LockProperties getProperties() {
|
|
|
|
return properties;
|
|
|
|
}
|
|
|
|
}
|