Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | package com.hltech.judged.server.infrastructure.container; |
||
14 | @Configuration |
||
15 | public class JudgeDConfiguration { |
||
16 | |||
17 | @Bean |
||
18 | JudgeDApplicationService judgeDApplicationService(EnvironmentRepository environmentRepository, |
||
19 | ServiceContractsRepository serviceContractsRepository, |
||
20 | List<InterfaceContractValidator<?, ?>> validators) { |
||
21 | return new JudgeDApplicationService(environmentRepository, serviceContractsRepository, validators); |
||
22 | } |
||
23 | |||
24 | @Bean |
||
25 | JmsContractValidator jmsContractValidator() { |
||
26 | return new JmsContractValidator(); |
||
27 | } |
||
28 | |||
29 | @Bean |
||
30 | RestContractValidator restContractValidator() { |
||
31 | return new RestContractValidator(); |
||
32 | } |
||
34 |