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