JBossWS SVN: r7399 - maven/parent/trunk.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-06-06 08:01:01 -0400 (Fri, 06 Jun 2008)
New Revision: 7399
Modified:
maven/parent/trunk/pom.xml
Log:
1.0.2-SNAPSHOT
Modified: maven/parent/trunk/pom.xml
===================================================================
--- maven/parent/trunk/pom.xml 2008-06-06 11:43:59 UTC (rev 7398)
+++ maven/parent/trunk/pom.xml 2008-06-06 12:01:01 UTC (rev 7399)
@@ -7,7 +7,7 @@
<artifactId>jbossws-parent</artifactId>
<packaging>pom</packaging>
- <version>1.0.1.GA</version>
+ <version>1.0.2-SNAPSHOT</version>
<organization>
<name>JBoss, a division of Red Hat</name>
16 years, 7 months
JBossWS SVN: r7398 - maven/parent/tags.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-06-06 07:43:59 -0400 (Fri, 06 Jun 2008)
New Revision: 7398
Added:
maven/parent/tags/jbossws-parent-1.0.1.GA/
Log:
Tag jbossws-parent-1.0.1.GA
Copied: maven/parent/tags/jbossws-parent-1.0.1.GA (from rev 7397, maven/parent/trunk)
16 years, 7 months
JBossWS SVN: r7397 - maven/parent/trunk.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2008-06-06 07:42:59 -0400 (Fri, 06 Jun 2008)
New Revision: 7397
Modified:
maven/parent/trunk/pom.xml
Log:
version=1.0.1.GA
Modified: maven/parent/trunk/pom.xml
===================================================================
--- maven/parent/trunk/pom.xml 2008-06-06 06:41:42 UTC (rev 7396)
+++ maven/parent/trunk/pom.xml 2008-06-06 11:42:59 UTC (rev 7397)
@@ -7,7 +7,7 @@
<artifactId>jbossws-parent</artifactId>
<packaging>pom</packaging>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.1.GA</version>
<organization>
<name>JBoss, a division of Red Hat</name>
16 years, 7 months
JBossWS SVN: r7396 - in container/jboss50/branches/jbossws-jboss501/src/main: resources/jbossws-jboss50-container.jar/META-INF and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-06-06 02:41:42 -0400 (Fri, 06 Jun 2008)
New Revision: 7396
Modified:
container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java
container/jboss50/branches/jbossws-jboss501/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml
Log:
refactoring
Modified: container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java
===================================================================
--- container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java 2008-06-06 06:37:47 UTC (rev 7395)
+++ container/jboss50/branches/jbossws-jboss501/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java 2008-06-06 06:41:42 UTC (rev 7396)
@@ -22,7 +22,6 @@
package org.jboss.wsf.container.jboss50;
import org.jboss.logging.Logger;
-import org.jboss.wsf.spi.ComposableRuntime;
import org.jboss.wsf.spi.WSFRuntime;
import org.jboss.wsf.spi.deployment.Deployment;
import org.jboss.wsf.spi.deployment.DeploymentAspectManager;
@@ -34,7 +33,7 @@
/**
* @author Heiko.Braun <heiko.braun(a)jboss.com>
*/
-public class BareWSFRuntime implements WSFRuntime, ComposableRuntime
+public class BareWSFRuntime implements WSFRuntime
{
private static final Logger log = Logger.getLogger(BareWSFRuntime.class);
@@ -50,19 +49,13 @@
private TransportManagerFactory transportManagerFactory;
- public String getRuntimeName()
+ public BareWSFRuntime(String runtimeName)
{
- return runtimeName;
- }
-
- public void setRuntimeName(String runtimeName)
- {
this.runtimeName = runtimeName;
}
// ---------------------------------------------------------------------------------
-
public void create(Deployment deployment)
{
deploymentManager.create(deployment, this);
@@ -85,7 +78,6 @@
// ---------------------------------------------------------------------------------
-
public void setTransportManagerFactory(TransportManagerFactory factory)
{
assert factory!=null;
@@ -129,7 +121,6 @@
this.requestHandlerFactory = factory;
}
-
public RequestHandlerFactory getRequestHandlerFactory()
{
return this.requestHandlerFactory;
@@ -149,6 +140,6 @@
public String toString()
{
- return this.runtimeName+ " :" + super.toString();
+ return this.runtimeName+ ": " + super.toString();
}
}
Modified: container/jboss50/branches/jbossws-jboss501/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml
===================================================================
--- container/jboss50/branches/jbossws-jboss501/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml 2008-06-06 06:37:47 UTC (rev 7395)
+++ container/jboss50/branches/jbossws-jboss501/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml 2008-06-06 06:41:42 UTC (rev 7396)
@@ -23,7 +23,9 @@
-->
<bean name="WebserviceJSERuntime" class="org.jboss.wsf.container.jboss50.BareWSFRuntime">
- <property name="runtimeName">WebserviceJSERuntime</property>
+ <constructor>
+ <parameter>WebserviceJSERuntime</parameter>
+ </constructor>
<property name="deploymentAspectManager"><inject bean="WSDeploymentAspectManagerJSE"/></property>
<property name="endpointRegistry"><inject bean="WSEndpointRegistry"/></property>
<property name="transportManagerFactory"><inject bean="JSETransportManagerFactory"/></property>
@@ -32,7 +34,9 @@
</bean>
<bean name="WebserviceEJBRuntime" class="org.jboss.wsf.container.jboss50.BareWSFRuntime">
- <property name="runtimeName">WebserviceEJBRuntime</property>
+ <constructor>
+ <parameter>WebserviceEJBRuntime</parameter>
+ </constructor>
<property name="deploymentAspectManager"><inject bean="WSDeploymentAspectManagerEJB"/></property>
<property name="endpointRegistry"><inject bean="WSEndpointRegistry"/></property>
<property name="transportManagerFactory"><inject bean="EJBTransportManagerFactory"/></property>
@@ -41,7 +45,9 @@
</bean>
<bean name="EndpointAPIRuntime" class="org.jboss.wsf.container.jboss50.BareWSFRuntime">
- <property name="runtimeName">EndpointAPIRuntime</property>
+ <constructor>
+ <parameter>EndpointAPIRuntime</parameter>
+ </constructor>
<property name="deploymentAspectManager"><inject bean="WSDeploymentAspectManagerEndpointAPI"/></property>
<property name="endpointRegistry"><inject bean="WSEndpointRegistry"/></property>
<property name="transportManagerFactory"><inject bean="EndpointAPITransportManagerFactory"/></property>
16 years, 7 months
JBossWS SVN: r7395 - container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-06-06 02:37:47 -0400 (Fri, 06 Jun 2008)
New Revision: 7395
Modified:
container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java
Log:
don't annoy users with our debug messages
Modified: container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java
===================================================================
--- container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java 2008-06-06 06:34:17 UTC (rev 7394)
+++ container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java 2008-06-06 06:37:47 UTC (rev 7395)
@@ -22,7 +22,6 @@
package org.jboss.wsf.container.jboss50;
import org.jboss.logging.Logger;
-import org.jboss.wsf.spi.ComposableRuntime;
import org.jboss.wsf.spi.SPIProvider;
import org.jboss.wsf.spi.SPIProviderResolver;
import org.jboss.wsf.spi.WSFRuntime;
@@ -103,7 +102,7 @@
public void setTransportManagerFactory(TransportManagerFactory factory)
{
assert factory!=null;
- log.info(runtimeName + " -> TransportManagerFactory: " + factory);
+ log.debug(runtimeName + " -> TransportManagerFactory: " + factory);
this.transportManagerFactory = factory;
}
@@ -115,7 +114,7 @@
public void setEndpointRegistry(EndpointRegistry endpointRegistry)
{
assert endpointRegistry!=null;
- log.info(runtimeName + " -> EndpointRegistry: " + endpointRegistry);
+ log.debug(runtimeName + " -> EndpointRegistry: " + endpointRegistry);
this.endpointRegistry = endpointRegistry;
}
@@ -127,7 +126,7 @@
public void setDeploymentAspectManager(DeploymentAspectManager deploymentManager)
{
assert deploymentManager!=null;
- log.info(runtimeName + " -> DeploymentAspectManager: " + deploymentManager);
+ log.debug(runtimeName + " -> DeploymentAspectManager: " + deploymentManager);
this.deploymentManager = deploymentManager;
}
@@ -139,7 +138,7 @@
public void setRequestHandlerFactory(RequestHandlerFactory factory)
{
assert factory!=null;
- log.info(runtimeName + " -> RequestHandlerFactory: "+ factory);
+ log.debug(runtimeName + " -> RequestHandlerFactory: "+ factory);
this.requestHandlerFactory = factory;
}
@@ -152,7 +151,7 @@
public void setInvocationHandlerFactory(InvocationHandlerFactory factory)
{
assert factory!=null;
- log.info(runtimeName + " -> InvocationHandlerFactory: "+ factory);
+ log.debug(runtimeName + " -> InvocationHandlerFactory: "+ factory);
this.invocationHandlerFactory = factory;
}
16 years, 7 months
JBossWS SVN: r7394 - in container/jboss50/branches/jbossws-jboss500/src/main: resources/jbossws-jboss50-container.jar/META-INF and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-06-06 02:34:17 -0400 (Fri, 06 Jun 2008)
New Revision: 7394
Modified:
container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java
container/jboss50/branches/jbossws-jboss500/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml
Log:
refactoring runtimeName property
Modified: container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java
===================================================================
--- container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java 2008-06-06 05:44:40 UTC (rev 7393)
+++ container/jboss50/branches/jbossws-jboss500/src/main/java/org/jboss/wsf/container/jboss50/BareWSFRuntime.java 2008-06-06 06:34:17 UTC (rev 7394)
@@ -37,7 +37,7 @@
/**
* @author Heiko.Braun <heiko.braun(a)jboss.com>
*/
-public class BareWSFRuntime implements WSFRuntime, ComposableRuntime
+public class BareWSFRuntime implements WSFRuntime
{
private static final Logger log = Logger.getLogger(BareWSFRuntime.class);
@@ -54,20 +54,14 @@
private TransportManagerFactory transportManagerFactory;
boolean initialized;
-
- public String getRuntimeName()
+
+ public BareWSFRuntime(String runtimeName)
{
- return runtimeName;
- }
-
- public void setRuntimeName(String runtimeName)
- {
this.runtimeName = runtimeName;
}
// ---------------------------------------------------------------------------------
-
public void create(Deployment deployment)
{
init();
@@ -106,7 +100,6 @@
// ---------------------------------------------------------------------------------
-
public void setTransportManagerFactory(TransportManagerFactory factory)
{
assert factory!=null;
@@ -159,7 +152,7 @@
public void setInvocationHandlerFactory(InvocationHandlerFactory factory)
{
assert factory!=null;
- log.debug(runtimeName + " -> InvocationHandlerFactory: "+ factory);
+ log.info(runtimeName + " -> InvocationHandlerFactory: "+ factory);
this.invocationHandlerFactory = factory;
}
@@ -170,6 +163,6 @@
public String toString()
{
- return this.runtimeName+ " :" + super.toString();
+ return this.runtimeName+ ": " + super.toString();
}
}
Modified: container/jboss50/branches/jbossws-jboss500/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml
===================================================================
--- container/jboss50/branches/jbossws-jboss500/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml 2008-06-06 05:44:40 UTC (rev 7393)
+++ container/jboss50/branches/jbossws-jboss500/src/main/resources/jbossws-jboss50-container.jar/META-INF/jbossws-container-beans.xml 2008-06-06 06:34:17 UTC (rev 7394)
@@ -23,7 +23,9 @@
-->
<bean name="WebserviceJSERuntime" class="org.jboss.wsf.container.jboss50.BareWSFRuntime">
- <property name="runtimeName">WebserviceJSERuntime</property>
+ <constructor>
+ <parameter>WebserviceJSERuntime</parameter>
+ </constructor>
<property name="deploymentAspectManager"><inject bean="WSDeploymentAspectManagerJSE"/></property>
<property name="endpointRegistry"><inject bean="WSEndpointRegistry"/></property>
<property name="transportManagerFactory"><inject bean="JSETransportManagerFactory"/></property>
@@ -32,7 +34,9 @@
</bean>
<bean name="WebserviceEJBRuntime" class="org.jboss.wsf.container.jboss50.BareWSFRuntime">
- <property name="runtimeName">WebserviceEJBRuntime</property>
+ <constructor>
+ <parameter>WebserviceEJBRuntime</parameter>
+ </constructor>
<property name="deploymentAspectManager"><inject bean="WSDeploymentAspectManagerEJB"/></property>
<property name="endpointRegistry"><inject bean="WSEndpointRegistry"/></property>
<property name="transportManagerFactory"><inject bean="EJBTransportManagerFactory"/></property>
@@ -41,7 +45,9 @@
</bean>
<bean name="EndpointAPIRuntime" class="org.jboss.wsf.container.jboss50.BareWSFRuntime">
- <property name="runtimeName">EndpointAPIRuntime</property>
+ <constructor>
+ <parameter>EndpointAPIRuntime</parameter>
+ </constructor>
<property name="deploymentAspectManager"><inject bean="WSDeploymentAspectManagerEndpointAPI"/></property>
<property name="endpointRegistry"><inject bean="WSEndpointRegistry"/></property>
<property name="transportManagerFactory"><inject bean="EndpointAPITransportManagerFactory"/></property>
16 years, 7 months
JBossWS SVN: r7393 - stack/native/trunk/src/main/distro.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-06-06 01:44:40 -0400 (Fri, 06 Jun 2008)
New Revision: 7393
Modified:
stack/native/trunk/src/main/distro/build-deploy.xml
Log:
[JBWS-2177] Test clients fail with xml-apis.jar in lib/endorsed
Modified: stack/native/trunk/src/main/distro/build-deploy.xml
===================================================================
--- stack/native/trunk/src/main/distro/build-deploy.xml 2008-06-05 17:23:59 UTC (rev 7392)
+++ stack/native/trunk/src/main/distro/build-deploy.xml 2008-06-06 05:44:40 UTC (rev 7393)
@@ -140,6 +140,8 @@
<target name="undeploy-jboss500" depends="target-jboss500,init" description="Remove jbossws from jboss500">
<fail message="Not available: ${jboss500.available.file}" unless="jboss500.available"/>
<macro-undeploy-jbossws targetdir="${jboss500.server.deploy}/jbossws.sar" defaultconf="${jbossws.default.deploy.conf}"/>
+ <!-- [JBWS-2177] Test clients fail with xml-apis.jar in lib/endorsed -->
+ <delete file="${jboss500.home}/lib/endorsed/xml-apis.jar"/>
</target>
<!-- ================================================================== -->
16 years, 7 months
JBossWS SVN: r7392 - stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2008-06-05 13:23:59 -0400 (Thu, 05 Jun 2008)
New Revision: 7392
Modified:
stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignEncryptTestCase.java
stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignTestCase.java
stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/UsernameTestCase.java
Log:
Removing useless classloading trick
Modified: stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignEncryptTestCase.java
===================================================================
--- stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignEncryptTestCase.java 2008-06-05 17:14:49 UTC (rev 7391)
+++ stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignEncryptTestCase.java 2008-06-05 17:23:59 UTC (rev 7392)
@@ -21,9 +21,7 @@
*/
package org.jboss.test.ws.jaxws.samples.wsse;
-import java.net.MalformedURLException;
import java.net.URL;
-import java.net.URLClassLoader;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
@@ -46,8 +44,8 @@
public static Test suite()
{
- addClientConfToClasspath("jaxws-samples-wsse-sign-encrypt-client.jar");
- return new JBossWSTestSetup(SignEncryptTestCase.class, new JBossWSTestHelper().isTargetJBoss50() ? "jaxws-samples-wsse-sign-encrypt-50.war" : "jaxws-samples-wsse-sign-encrypt.war");
+ String serverJar = new JBossWSTestHelper().isTargetJBoss50() ? "jaxws-samples-wsse-sign-encrypt-50.war" : "jaxws-samples-wsse-sign-encrypt.war";
+ return new JBossWSTestSetup(SignEncryptTestCase.class, "jaxws-samples-wsse-sign-encrypt-client.jar," + serverJar);
}
public void test() throws Exception
@@ -58,20 +56,4 @@
ServiceIface proxy = (ServiceIface)service.getPort(ServiceIface.class);
assertEquals("Secure Hello World!", proxy.sayHello());
}
-
- protected static void addClientConfToClasspath(String s)
- {
- try
- {
- // wrap the classloader upfront to allow inclusion of the client.jar
- JBossWSTestHelper helper = new JBossWSTestHelper();
- ClassLoader parent = Thread.currentThread().getContextClassLoader();
- URLClassLoader replacement = new URLClassLoader(new URL[] { helper.getArchiveFile(s).toURL() }, parent);
- Thread.currentThread().setContextClassLoader(replacement);
- }
- catch (MalformedURLException e)
- {
- throw new IllegalStateException(e);
- }
- }
}
Modified: stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignTestCase.java
===================================================================
--- stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignTestCase.java 2008-06-05 17:14:49 UTC (rev 7391)
+++ stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignTestCase.java 2008-06-05 17:23:59 UTC (rev 7392)
@@ -21,9 +21,7 @@
*/
package org.jboss.test.ws.jaxws.samples.wsse;
-import java.net.MalformedURLException;
import java.net.URL;
-import java.net.URLClassLoader;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
@@ -46,8 +44,8 @@
public static Test suite()
{
- addClientConfToClasspath("jaxws-samples-wsse-sign-client.jar");
- return new JBossWSTestSetup(SignTestCase.class, new JBossWSTestHelper().isTargetJBoss50() ? "jaxws-samples-wsse-sign-50.war" : "jaxws-samples-wsse-sign.war");
+ String serverJar = new JBossWSTestHelper().isTargetJBoss50() ? "jaxws-samples-wsse-sign-50.war" : "jaxws-samples-wsse-sign.war";
+ return new JBossWSTestSetup(SignTestCase.class, "jaxws-samples-wsse-sign-client.jar," + serverJar);
}
public void test() throws Exception
@@ -58,20 +56,4 @@
ServiceIface proxy = (ServiceIface)service.getPort(ServiceIface.class);
assertEquals("Secure Hello World!", proxy.sayHello());
}
-
- protected static void addClientConfToClasspath(String s)
- {
- try
- {
- // wrap the classloader upfront to allow inclusion of the client.jar
- JBossWSTestHelper helper = new JBossWSTestHelper();
- ClassLoader parent = Thread.currentThread().getContextClassLoader();
- URLClassLoader replacement = new URLClassLoader(new URL[] { helper.getArchiveFile(s).toURL() }, parent);
- Thread.currentThread().setContextClassLoader(replacement);
- }
- catch (MalformedURLException e)
- {
- throw new IllegalStateException(e);
- }
- }
}
Modified: stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/UsernameTestCase.java
===================================================================
--- stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/UsernameTestCase.java 2008-06-05 17:14:49 UTC (rev 7391)
+++ stack/metro/trunk/modules/testsuite/metro-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/UsernameTestCase.java 2008-06-05 17:23:59 UTC (rev 7392)
@@ -21,9 +21,7 @@
*/
package org.jboss.test.ws.jaxws.samples.wsse;
-import java.net.MalformedURLException;
import java.net.URL;
-import java.net.URLClassLoader;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
@@ -31,7 +29,6 @@
import junit.framework.Test;
import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestHelper;
import org.jboss.wsf.test.JBossWSTestSetup;
/**
@@ -46,8 +43,7 @@
public static Test suite()
{
- addClientConfToClasspath("jaxws-samples-wsse-username-client.jar");
- return new JBossWSTestSetup(UsernameTestCase.class, "jaxws-samples-wsse-username.war");
+ return new JBossWSTestSetup(UsernameTestCase.class, "jaxws-samples-wsse-username-client.jar,jaxws-samples-wsse-username.war");
}
public void test() throws Exception
@@ -63,20 +59,4 @@
assertEquals("Secure Hello World!", proxy.sayHello());
}
-
- protected static void addClientConfToClasspath(String s)
- {
- try
- {
- // wrap the classloader upfront to allow inclusion of the client.jar
- JBossWSTestHelper helper = new JBossWSTestHelper();
- ClassLoader parent = Thread.currentThread().getContextClassLoader();
- URLClassLoader replacement = new URLClassLoader(new URL[] { helper.getArchiveFile(s).toURL() }, parent);
- Thread.currentThread().setContextClassLoader(replacement);
- }
- catch (MalformedURLException e)
- {
- throw new IllegalStateException(e);
- }
- }
}
16 years, 7 months
JBossWS SVN: r7391 - stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2008-06-05 13:14:49 -0400 (Thu, 05 Jun 2008)
New Revision: 7391
Modified:
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignEncryptTestCase.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignTestCase.java
stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/UsernameTestCase.java
Log:
Sorting imports
Modified: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignEncryptTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignEncryptTestCase.java 2008-06-05 15:24:41 UTC (rev 7390)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignEncryptTestCase.java 2008-06-05 17:14:49 UTC (rev 7391)
@@ -21,29 +21,25 @@
*/
package org.jboss.test.ws.jaxws.samples.wsse;
-import java.net.MalformedURLException;
import java.net.URL;
-import java.net.URLClassLoader;
import java.util.HashMap;
import java.util.Map;
import javax.xml.namespace.QName;
-import javax.xml.ws.BindingProvider;
import javax.xml.ws.Service;
+import javax.xml.ws.soap.SOAPFaultException;
import junit.framework.Test;
-import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestHelper;
-import org.jboss.wsf.test.JBossWSTestSetup;
+import org.apache.cxf.binding.soap.saaj.SAAJInInterceptor;
+import org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor;
import org.apache.cxf.endpoint.Client;
-import org.apache.cxf.frontend.ClientProxy;
import org.apache.cxf.endpoint.Endpoint;
+import org.apache.cxf.frontend.ClientProxy;
import org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor;
import org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor;
-import org.apache.cxf.binding.soap.saaj.SAAJInInterceptor;
-import org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor;
-import javax.xml.ws.soap.SOAPFaultException;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
/**
* WS-Security sign & encrypt test case
Modified: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignTestCase.java 2008-06-05 15:24:41 UTC (rev 7390)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/SignTestCase.java 2008-06-05 17:14:49 UTC (rev 7391)
@@ -21,28 +21,24 @@
*/
package org.jboss.test.ws.jaxws.samples.wsse;
-import java.net.MalformedURLException;
import java.net.URL;
-import java.net.URLClassLoader;
import java.util.HashMap;
import java.util.Map;
import javax.xml.namespace.QName;
-import javax.xml.ws.BindingProvider;
import javax.xml.ws.Service;
import junit.framework.Test;
-import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestHelper;
-import org.jboss.wsf.test.JBossWSTestSetup;
+import org.apache.cxf.binding.soap.saaj.SAAJInInterceptor;
+import org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor;
import org.apache.cxf.endpoint.Client;
-import org.apache.cxf.frontend.ClientProxy;
import org.apache.cxf.endpoint.Endpoint;
+import org.apache.cxf.frontend.ClientProxy;
import org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor;
import org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor;
-import org.apache.cxf.binding.soap.saaj.SAAJInInterceptor;
-import org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
/**
* WS-Security sign test case
Modified: stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/UsernameTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/UsernameTestCase.java 2008-06-05 15:24:41 UTC (rev 7390)
+++ stack/cxf/trunk/modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/UsernameTestCase.java 2008-06-05 17:14:49 UTC (rev 7391)
@@ -21,28 +21,22 @@
*/
package org.jboss.test.ws.jaxws.samples.wsse;
-import java.net.MalformedURLException;
import java.net.URL;
-import java.net.URLClassLoader;
import java.util.HashMap;
import java.util.Map;
import javax.xml.namespace.QName;
-import javax.xml.ws.BindingProvider;
import javax.xml.ws.Service;
import junit.framework.Test;
-import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestHelper;
-import org.jboss.wsf.test.JBossWSTestSetup;
+import org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor;
import org.apache.cxf.endpoint.Client;
-import org.apache.cxf.frontend.ClientProxy;
import org.apache.cxf.endpoint.Endpoint;
-import org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor;
+import org.apache.cxf.frontend.ClientProxy;
import org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor;
-import org.apache.cxf.binding.soap.saaj.SAAJInInterceptor;
-import org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
/**
* WS-Security username test case
16 years, 7 months
JBossWS SVN: r7390 - in stack/cxf/trunk/modules/testsuite: framework-tests and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2008-06-05 11:24:41 -0400 (Thu, 05 Jun 2008)
New Revision: 7390
Modified:
stack/cxf/trunk/modules/testsuite/framework-tests/pom.xml
stack/cxf/trunk/modules/testsuite/pom.xml
Log:
refactoring
Modified: stack/cxf/trunk/modules/testsuite/framework-tests/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/framework-tests/pom.xml 2008-06-05 15:07:42 UTC (rev 7389)
+++ stack/cxf/trunk/modules/testsuite/framework-tests/pom.xml 2008-06-05 15:24:41 UTC (rev 7390)
@@ -14,6 +14,16 @@
<relativePath>../pom.xml</relativePath>
</parent>
+ <!-- Dependencies -->
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.ws</groupId>
+ <artifactId>jbossws-framework</artifactId>
+ <classifier>testsuite</classifier>
+ <type>zip</type>
+ </dependency>
+ </dependencies>
+
<!-- Plugins -->
<build>
<plugins>
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2008-06-05 15:07:42 UTC (rev 7389)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2008-06-05 15:24:41 UTC (rev 7390)
@@ -44,16 +44,6 @@
<artifactId>jbossws-framework</artifactId>
</dependency>
<dependency>
- <groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-framework</artifactId>
- <classifier>testsuite</classifier>
- <type>zip</type>
- </dependency>
- <dependency>
- <groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-spi</artifactId>
- </dependency>
- <dependency>
<groupId>javax.ejb</groupId>
<artifactId>ejb-api</artifactId>
</dependency>
16 years, 7 months