Author: heiko.braun(a)jboss.com
Date: 2008-04-17 15:42:15 -0400 (Thu, 17 Apr 2008)
New Revision: 6478
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/embedded/EmbeddedTestCase.java
Log:
Use WSFRuntime interface
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/embedded/EmbeddedTestCase.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/embedded/EmbeddedTestCase.java 2008-04-17
19:40:09 UTC (rev 6477)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/embedded/EmbeddedTestCase.java 2008-04-17
19:42:15 UTC (rev 6478)
@@ -23,6 +23,7 @@
import junit.framework.TestCase;
import org.jboss.wsf.spi.deployment.Deployment;
+import org.jboss.wsf.spi.WSFRuntime;
import org.jboss.wsf.stack.jbws.embedded.DeploymentModelBuilder;
import org.jboss.wsf.stack.jbws.embedded.EmbeddableWSFRuntime;
@@ -55,7 +56,7 @@
.build();
// Publish
- EmbeddableWSFRuntime container = EmbeddableWSFRuntime.bootstrap(
EmbeddableWSFRuntime.DEFAULT_CONFIG_URL);
+ WSFRuntime container = EmbeddableWSFRuntime.bootstrap(
EmbeddableWSFRuntime.DEFAULT_CONFIG_URL);
container.create(dep);
container.start(dep);