diff --git a/components/jax-ws/metro/pom.xml b/components/jax-ws/metro/pom.xml index 30bd12b1..d0f8573d 100644 --- a/components/jax-ws/metro/pom.xml +++ b/components/jax-ws/metro/pom.xml @@ -15,7 +15,7 @@ kumuluzee-jax-ws-metro - + 2.3.1 @@ -28,6 +28,12 @@ javax.xml.ws jaxws-api + + + org.glassfish.metro + webservices-rt + ${metro.version} + \ No newline at end of file diff --git a/components/jax-ws/metro/src/main/java/com/kumuluz/ee/jaxws/metro/JaxWsComponent.java b/components/jax-ws/metro/src/main/java/com/kumuluz/ee/jaxws/metro/JaxWsComponent.java new file mode 100644 index 00000000..eccd773b --- /dev/null +++ b/components/jax-ws/metro/src/main/java/com/kumuluz/ee/jaxws/metro/JaxWsComponent.java @@ -0,0 +1,29 @@ +package com.kumuluz.ee.jaxws.metro; + +import com.kumuluz.ee.common.Component; +import com.kumuluz.ee.common.config.EeConfig; +import com.kumuluz.ee.common.dependencies.EeComponentDef; +import com.kumuluz.ee.common.dependencies.EeComponentType; +import com.kumuluz.ee.common.wrapper.KumuluzServerWrapper; + +import java.util.logging.Logger; + +/** + * @author Tilen Faganel + * @since 2.0.0 + */ +@EeComponentDef(name = "Metro", type = EeComponentType.JAX_WS) +public class JaxWsComponent implements Component { + + private Logger log = Logger.getLogger(JaxWsComponent.class.getSimpleName()); + + @Override + public void init(KumuluzServerWrapper server, EeConfig eeConfig) { + } + + @Override + public void load() { + + log.info("Initiating Metro"); + } +} diff --git a/components/jax-ws/metro/src/main/resources/META-INF/services/com.kumuluz.ee.common.Component b/components/jax-ws/metro/src/main/resources/META-INF/services/com.kumuluz.ee.common.Component new file mode 100644 index 00000000..cd58bc19 --- /dev/null +++ b/components/jax-ws/metro/src/main/resources/META-INF/services/com.kumuluz.ee.common.Component @@ -0,0 +1 @@ +com.kumuluz.ee.jaxws.metro.JaxWsComponent \ No newline at end of file