1
0
mirror of https://github.com/pcvolkmer/onkostar-plugin-dnpm.git synced 2025-07-04 01:52:55 +00:00

Issue #11: Methode zum Auffinden referenzierter MTBs hinzugefügt

This commit is contained in:
2023-03-20 22:16:08 +01:00
parent 887221d5ae
commit e9c25818d2
6 changed files with 125 additions and 2 deletions

View File

@ -2,6 +2,8 @@ package DNPM.config;
import DNPM.database.SettingsRepository;
import DNPM.services.*;
import DNPM.services.mtb.DefaultMtbService;
import DNPM.services.mtb.MtbService;
import de.itc.onkostar.api.IOnkostarApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
@ -35,6 +37,11 @@ public class PluginConfiguration {
return new SettingsService(settingsRepository);
}
@Bean
public MtbService mtbService(final SettingsService settingsService) {
return new DefaultMtbService(settingsService);
}
@Bean
public TherapieplanServiceFactory therapieplanServiceFactory(
final IOnkostarApi onkostarApi,