Skip to content

Commit

Permalink
Added metro component
Browse files Browse the repository at this point in the history
  • Loading branch information
TFaga committed Apr 4, 2016
1 parent d0d3d0f commit 1d3851d
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
8 changes: 7 additions & 1 deletion components/jax-ws/metro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<artifactId>kumuluzee-jax-ws-metro</artifactId>

<properties>

<metro.version>2.3.1</metro.version>
</properties>

<dependencies>
Expand All @@ -28,6 +28,12 @@
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
</dependency>

<dependency>
<groupId>org.glassfish.metro</groupId>
<artifactId>webservices-rt</artifactId>
<version>${metro.version}</version>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
@@ -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");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.kumuluz.ee.jaxws.metro.JaxWsComponent

0 comments on commit 1d3851d

Please sign in to comment.