You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
670 B
28 lines
670 B
package com.example.sbcamel.init;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
import com.example.sbcamel.processor.InspectionProcessor;
|
|
import com.example.sbcamel.processor.TestProcessor;
|
|
import com.fasterxml.jackson.jakarta.rs.json.JacksonJsonProvider;
|
|
|
|
@Configuration
|
|
public class AppConfig {
|
|
|
|
@Bean
|
|
public JacksonJsonProvider jaxrsProvider() {
|
|
return new JacksonJsonProvider();
|
|
}
|
|
|
|
@Bean
|
|
public InspectionProcessor inspectionProcessor() {
|
|
return new InspectionProcessor();
|
|
}
|
|
|
|
@Bean
|
|
public TestProcessor testProcessor() {
|
|
return new TestProcessor();
|
|
}
|
|
}
|