Skip to content
Snippets Groups Projects
Commit d5655f25 authored by Lukas Malte Monnerjahn's avatar Lukas Malte Monnerjahn
Browse files

Revert Refactorings in otherwise unchanged files

parent 32522172
Branches
Tags
No related merge requests found
...@@ -11,7 +11,7 @@ import java.security.cert.CertificateException; ...@@ -11,7 +11,7 @@ import java.security.cert.CertificateException;
import javax.net.ssl.KeyManagerFactory; import javax.net.ssl.KeyManagerFactory;
import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.webservices.client.WebServiceTemplateCustomizer; import org.springframework.boot.webservices.client.WebServiceTemplateCustomizer;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
...@@ -28,12 +28,12 @@ import lombok.extern.log4j.Log4j2; ...@@ -28,12 +28,12 @@ import lombok.extern.log4j.Log4j2;
@Log4j2 @Log4j2
@Configuration @Configuration
@RequiredArgsConstructor
public class XtaRemoteServiceConfiguration { public class XtaRemoteServiceConfiguration {
static final String URI_TEMPLATE = "%s://%s/MB_XTA-WS/XTA210msgBoxPort.svc"; static final String URI_TEMPLATE = "%s://%s/MB_XTA-WS/XTA210msgBoxPort.svc";
private final XtaProperties properties; @Autowired
private XtaProperties properties;
@Bean @Bean
Jaxb2Marshaller osciTransportMarshaller() { Jaxb2Marshaller osciTransportMarshaller() {
......
package de.ozgcloud.eingang.xta; package de.ozgcloud.eingang.xta;
import lombok.RequiredArgsConstructor; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationListener; import org.springframework.context.ApplicationListener;
import org.springframework.context.annotation.Profile; import org.springframework.context.annotation.Profile;
import org.springframework.context.event.ContextRefreshedEvent; import org.springframework.context.event.ContextRefreshedEvent;
...@@ -11,15 +11,15 @@ import de.ozgcloud.eingang.semantik.SemantikAdapter; ...@@ -11,15 +11,15 @@ import de.ozgcloud.eingang.semantik.SemantikAdapter;
import lombok.NonNull; import lombok.NonNull;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
@Profile("!itcase") @Profile("!itcase")
@Log4j2 @Log4j2
@Component @Component
@RequiredArgsConstructor
class XtaRunner implements ApplicationListener<ContextRefreshedEvent> { class XtaRunner implements ApplicationListener<ContextRefreshedEvent> {
private final XtaService service; @Autowired
private final SemantikAdapter semantikAdapter; private XtaService service;
@Autowired
private SemantikAdapter semantikAdapter;
@Override @Override
public void onApplicationEvent(ContextRefreshedEvent event) { public void onApplicationEvent(ContextRefreshedEvent event) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment