aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-13 09:15:11 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-05-13 09:15:11 +0200
commitdd9f5860032e6aae08aa8d3a7630075ad65ad694 (patch)
treea14eddce4ed36ba864913ebf1c9a9fe87012319d /src
parent056cb6d94d9ac1557801aedf0b74a3d3e2141b5e (diff)
downloadmoa-zs-dd9f5860032e6aae08aa8d3a7630075ad65ad694.tar.gz
moa-zs-dd9f5860032e6aae08aa8d3a7630075ad65ad694.tar.bz2
moa-zs-dd9f5860032e6aae08aa8d3a7630075ad65ad694.zip
Refactor: Remove Unused Members
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/gv/egiz/moazs/config/App2MzsServiceConfig.java14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/config/App2MzsServiceConfig.java b/src/main/java/at/gv/egiz/moazs/config/App2MzsServiceConfig.java
index 74b0305..9bf03fb 100644
--- a/src/main/java/at/gv/egiz/moazs/config/App2MzsServiceConfig.java
+++ b/src/main/java/at/gv/egiz/moazs/config/App2MzsServiceConfig.java
@@ -4,28 +4,18 @@ import at.gv.egiz.moazs.App2MzsService;
import at.gv.zustellung.app2mzs.xsd.App2Mzs;
import org.apache.cxf.Bus;
import org.apache.cxf.jaxws.EndpointImpl;
-import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import javax.xml.ws.Endpoint;
-import java.net.URL;
@Configuration
public class App2MzsServiceConfig {
- @Autowired
- private Bus bus;
-
- @Autowired
- private App2MzsService app2mzsService;
-
- @Autowired
- private App2Mzs app2mzs;
-
@Bean
- public Endpoint endpoint() {
+ @Autowired
+ public Endpoint endpoint(Bus bus, App2MzsService app2mzsService, App2Mzs app2mzs) {
EndpointImpl endpoint = new EndpointImpl(bus, app2mzsService);
endpoint.setAddress("/");
endpoint.setServiceName(app2mzs.getServiceName());