JBossWS SVN: r14548 - in stack/native/trunk/modules/core/src/main: java/org/jboss/ws/metadata/builder and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-06-14 09:49:48 -0400 (Tue, 14 Jun 2011)
New Revision: 14548
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/spi/http/NettyHttpServerAdapter.java
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
stack/native/trunk/modules/core/src/main/resources/jbossws-native-config-as7.xml
Log:
- [JBWS-3312] Avoid using deprecated Endpoint methods
- remove commented reference on eventing deployment aspect
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/spi/http/NettyHttpServerAdapter.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/spi/http/NettyHttpServerAdapter.java 2011-06-14 13:48:15 UTC (rev 14547)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/spi/http/NettyHttpServerAdapter.java 2011-06-14 13:49:48 UTC (rev 14548)
@@ -47,6 +47,7 @@
import org.jboss.wsf.spi.deployment.Deployment.DeploymentType;
import org.jboss.wsf.spi.deployment.DeploymentAspect;
import org.jboss.wsf.spi.deployment.DeploymentModelFactory;
+import org.jboss.wsf.spi.deployment.HttpEndpoint;
import org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect;
import org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect;
import org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect;
@@ -182,7 +183,7 @@
final ArchiveDeployment dep = (ArchiveDeployment) NettyHttpServerAdapter.DEPLOYMENT_FACTORY.newDeployment(contextRoot, loader);
final org.jboss.wsf.spi.deployment.Endpoint endpoint = NettyHttpServerAdapter.DEPLOYMENT_FACTORY.newHttpEndpoint(endpointClass.getName());
endpoint.setShortName(this.getEndpointRegistryPath(epImpl));
- endpoint.setURLPattern(epImpl.getPathWithoutContext());
+ ((HttpEndpoint)endpoint).setURLPattern(epImpl.getPathWithoutContext());
dep.getService().addEndpoint(endpoint);
dep.setRootFile(new ResourceLoaderAdapter(loader));
dep.setRuntimeClassLoader(loader);
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java 2011-06-14 13:48:15 UTC (rev 14547)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/builder/MetaDataBuilder.java 2011-06-14 13:49:48 UTC (rev 14548)
@@ -72,6 +72,7 @@
import org.jboss.wsf.spi.deployment.ArchiveDeployment;
import org.jboss.wsf.spi.deployment.Deployment;
import org.jboss.wsf.spi.deployment.Endpoint;
+import org.jboss.wsf.spi.deployment.HttpEndpoint;
import org.jboss.wsf.spi.management.ServerConfig;
import org.jboss.wsf.spi.management.ServerConfigFactory;
import org.jboss.wsf.spi.metadata.j2ee.EJBArchiveMetaData;
@@ -146,7 +147,7 @@
{
Endpoint endpoint = dep.getService().getEndpointByName(linkName);
if (endpoint != null)
- urlPattern = endpoint.getURLPattern();
+ urlPattern = ((HttpEndpoint)endpoint).getURLPattern();
}
// Endpoint API hack
Modified: stack/native/trunk/modules/core/src/main/resources/jbossws-native-config-as7.xml
===================================================================
--- stack/native/trunk/modules/core/src/main/resources/jbossws-native-config-as7.xml 2011-06-14 13:48:15 UTC (rev 14547)
+++ stack/native/trunk/modules/core/src/main/resources/jbossws-native-config-as7.xml 2011-06-14 13:49:48 UTC (rev 14548)
@@ -77,11 +77,6 @@
</list>
</property>
</deploymentAspect>
-
- <deploymentAspect class="org.jboss.wsf.stack.jbws.EventingDeploymentAspect">
- <property name="requires" class="java.lang.String">UnifiedMetaDataModel</property>
- </deploymentAspect>
-
-->
</deploymentAspects>
13 years, 6 months
JBossWS SVN: r14547 - container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/tomcat.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-06-14 09:48:15 -0400 (Tue, 14 Jun 2011)
New Revision: 14547
Modified:
container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataCreator.java
Log:
[JBWS-3312] Avoid using deprecated endpoint methods
Modified: container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataCreator.java
===================================================================
--- container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataCreator.java 2011-06-14 13:30:34 UTC (rev 14546)
+++ container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/tomcat/WebMetaDataCreator.java 2011-06-14 13:48:15 UTC (rev 14547)
@@ -37,6 +37,7 @@
import org.jboss.ws.common.integration.WSHelper;
import org.jboss.wsf.spi.deployment.Deployment;
import org.jboss.wsf.spi.deployment.Endpoint;
+import org.jboss.wsf.spi.deployment.HttpEndpoint;
/**
* Creator of web app meta data for EJB endpoints.
@@ -188,11 +189,14 @@
for (final Endpoint ep : dep.getService().getEndpoints())
{
- final String endpointName = ep.getShortName();
- final List<String> urlPatterns = WebMetaDataHelper.getUrlPatterns(ep.getURLPattern());
+ if (ep instanceof HttpEndpoint)
+ {
+ final String endpointName = ep.getShortName();
+ final List<String> urlPatterns = WebMetaDataHelper.getUrlPatterns(((HttpEndpoint)ep).getURLPattern());
- this.log.debug("Servlet name: " + endpointName + ", URL patterns: " + urlPatterns);
- WebMetaDataHelper.newServletMapping(endpointName, urlPatterns, servletMappings);
+ this.log.debug("Servlet name: " + endpointName + ", URL patterns: " + urlPatterns);
+ WebMetaDataHelper.newServletMapping(endpointName, urlPatterns, servletMappings);
+ }
}
}
@@ -232,7 +236,7 @@
final String authMethod = ejbMDAccessor.getAuthMethod(ejbEndpoint);
final boolean hasAuthMethod = authMethod != null;
- if (hasAuthMethod || hasTransportGuarantee)
+ if (ejbEndpoint instanceof HttpEndpoint && (hasAuthMethod || hasTransportGuarantee))
{
final List<SecurityConstraintMetaData> securityConstraints = WebMetaDataHelper
.getSecurityConstraints(jbossWebMD);
@@ -245,7 +249,7 @@
final WebResourceCollectionsMetaData webResourceCollections = WebMetaDataHelper
.getWebResourceCollections(securityConstraint);
final String endpointName = ejbEndpoint.getShortName();
- final String urlPattern = ejbEndpoint.getURLPattern();
+ final String urlPattern = ((HttpEndpoint)ejbEndpoint).getURLPattern();
this.log.debug("Creating web resource collection for endpoint: " + endpointName + ", URL pattern: "
+ urlPattern);
WebMetaDataHelper.newWebResourceCollection(endpointName, urlPattern, secureWsdlAccess,
13 years, 6 months
JBossWS SVN: r14546 - stack/native/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2011-06-14 09:30:34 -0400 (Tue, 14 Jun 2011)
New Revision: 14546
Modified:
stack/native/trunk/modules/testsuite/pom.xml
Log:
updating excludes description
Modified: stack/native/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/native/trunk/modules/testsuite/pom.xml 2011-06-14 12:39:17 UTC (rev 14545)
+++ stack/native/trunk/modules/testsuite/pom.xml 2011-06-14 13:30:34 UTC (rev 14546)
@@ -820,7 +820,7 @@
<exclude>org/jboss/test/ws/jaxws/samples/webserviceref/**/*EJB3TestCase*</exclude>
<exclude>org/jboss/test/ws/management/recording/**</exclude>
- <!-- # [JBWS-3219] unexpected element 'port-qname' encountered -->
+ <!-- # [JBWS-3219] unexpected element 'port-qname' encountered - we're waiting for jboss-metadata-common-7.0.0.Beta5 release in AS7 trunk -->
<exclude>org/jboss/test/ws/jaxws/jbws2307/**</exclude>
<exclude>org/jboss/test/ws/jaxws/jbws2527/**</exclude>
13 years, 6 months
JBossWS SVN: r14545 - stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxrpc/wsse/username/META-INF.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2011-06-14 08:39:17 -0400 (Tue, 14 Jun 2011)
New Revision: 14545
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxrpc/wsse/username/META-INF/jboss-client.xml
Log:
don't use deprecated call-property, use stub-property instead
Modified: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxrpc/wsse/username/META-INF/jboss-client.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxrpc/wsse/username/META-INF/jboss-client.xml 2011-06-14 10:42:58 UTC (rev 14544)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxrpc/wsse/username/META-INF/jboss-client.xml 2011-06-14 12:39:17 UTC (rev 14545)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8' ?>
-<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+<!DOCTYPE jboss-client PUBLIC "-//JBoss//DTD Application Client 5.0//EN" "http://www.jboss.org/j2ee/dtd/jboss-client_5_0.dtd">
<jboss-client>
<jndi-name>jbossws-client</jndi-name>
@@ -10,15 +10,14 @@
<config-name>Standard WSSecurity Client</config-name>
<port-component-ref>
<service-endpoint-interface>org.jboss.test.ws.jaxrpc.wsse.JaxRpcTestService</service-endpoint-interface>
- <!-- Deprecated use of <call-properties> on JAXRPC stub. JBoss-4.0.x does not support <stub-properties> -->
- <call-property>
+ <stub-property>
<prop-name>javax.xml.rpc.security.auth.username</prop-name>
<prop-value>kermit</prop-value>
- </call-property>
- <call-property>
+ </stub-property>
+ <stub-property>
<prop-name>javax.xml.rpc.security.auth.password</prop-name>
<prop-value>thefrog</prop-value>
- </call-property>
+ </stub-property>
</port-component-ref>
<wsdl-override>http://@jboss.bind.address@:8080/jaxrpc-wsse-username?wsdl</wsdl-override>
</service-ref>
13 years, 6 months
JBossWS SVN: r14544 - in stack/cxf/trunk: modules/server and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-06-14 06:42:58 -0400 (Tue, 14 Jun 2011)
New Revision: 14544
Modified:
stack/cxf/trunk/modules/server/pom.xml
stack/cxf/trunk/pom.xml
Log:
[JBWS-3307] Removing dependency on jbossxb
Modified: stack/cxf/trunk/modules/server/pom.xml
===================================================================
--- stack/cxf/trunk/modules/server/pom.xml 2011-06-14 10:39:08 UTC (rev 14543)
+++ stack/cxf/trunk/modules/server/pom.xml 2011-06-14 10:42:58 UTC (rev 14544)
@@ -211,10 +211,6 @@
<artifactId>jbosssx</artifactId>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossxb</artifactId>
- </dependency>
- <dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</dependency>
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2011-06-14 10:39:08 UTC (rev 14543)
+++ stack/cxf/trunk/pom.xml 2011-06-14 10:42:58 UTC (rev 14544)
@@ -1059,22 +1059,6 @@
<scope>provided</scope>
</dependency>
<dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossxb</artifactId>
- <version>${jboss.xb.version}</version>
- <scope>provided</scope>
- <exclusions>
- <exclusion>
- <groupId>apache-xerces</groupId> <!-- Deprecated dependency -->
- <artifactId>xercesImpl</artifactId>
- </exclusion>
- <exclusion>
- <groupId>wutka-dtdparser</groupId> <!-- Deprecated dependency -->
- <artifactId>dtdparser121</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
<groupId>org.jboss.security</groupId>
<artifactId>jbosssx</artifactId>
<version>${jboss.security.sx.version}</version>
13 years, 6 months
JBossWS SVN: r14543 - in stack/cxf/trunk/modules: server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms and 5 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-06-14 06:39:08 -0400 (Tue, 14 Jun 2011)
New Revision: 14543
Removed:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/JMSEndpointDeploymentAspect.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/JMSEndpointDeploymentAspectDelegate.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms/JMSDescriptorParserImpl.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms/JMSDescriptorProcessorImpl.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms/JMSEndpointsFactory.java
stack/cxf/trunk/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmsendpoints/
stack/cxf/trunk/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmstransport/FromJavaJMSTransportTestCase.java
stack/cxf/trunk/modules/testsuite/cxf-spring-tests/src/test/resources/jaxws/samples/jmstransport/fromjava/
Modified:
stack/cxf/trunk/modules/server/src/main/resources/jbossws-cxf-config-as6.xml
stack/cxf/trunk/modules/server/src/main/resources/jbossws-cxf-config-as7.xml
stack/cxf/trunk/modules/testsuite/cxf-spring-tests/scripts/cxf-samples-jaxws.xml
Log:
[JBWS-3312][JBWS-3307] Removing old JMS descriptor abstraction, updating testsuite, etc.
Deleted: stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/JMSEndpointDeploymentAspect.java
===================================================================
--- stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/JMSEndpointDeploymentAspect.java 2011-06-14 10:35:43 UTC (rev 14542)
+++ stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/JMSEndpointDeploymentAspect.java 2011-06-14 10:39:08 UTC (rev 14543)
@@ -1,63 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.stack.cxf.deployment.aspect;
-
-import org.jboss.ws.common.integration.JMSDeploymentAspect;
-import org.jboss.wsf.spi.deployment.Deployment;
-import org.jboss.wsf.stack.cxf.client.util.SpringUtils;
-
-/**
- * To start the jms endpoints
- *
- * @author <a href="ema(a)redhat.com">Jim Ma</a>
- */
-public class JMSEndpointDeploymentAspect extends JMSDeploymentAspect
-{
- private JMSEndpointDeploymentAspectDelegate aspect;
-
- public JMSEndpointDeploymentAspect()
- {
- if (SpringUtils.SPRING_AVAILABLE)
- {
- aspect = new JMSEndpointDeploymentAspectDelegate();
- }
- }
-
-
- @Override
- public void start(Deployment dep)
- {
- if (aspect != null)
- {
- aspect.start(dep);
- }
- }
-
- public void stop(Deployment dep)
- {
- if (aspect != null)
- {
- aspect.stop(dep);
- }
- }
-}
-
Deleted: stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/JMSEndpointDeploymentAspectDelegate.java
===================================================================
--- stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/JMSEndpointDeploymentAspectDelegate.java 2011-06-14 10:35:43 UTC (rev 14542)
+++ stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/JMSEndpointDeploymentAspectDelegate.java 2011-06-14 10:39:08 UTC (rev 14543)
@@ -1,84 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.stack.cxf.deployment.aspect;
-
-import java.net.URL;
-
-import org.apache.cxf.Bus;
-import org.apache.cxf.BusFactory;
-import org.jboss.ws.common.integration.JMSDeploymentAspect;
-import org.jboss.wsf.spi.deployment.Deployment;
-import org.jboss.wsf.spi.metadata.jms.JMSEndpointsMetaData;
-import org.jboss.wsf.stack.cxf.client.configuration.JBossWSSpringBusFactory;
-import org.jboss.wsf.stack.cxf.config.CXFInitializer;
-
-/**
- * To start the jms endpoints
- *
- * @author <a href="ema(a)redhat.com">Jim Ma</a>
- */
-public class JMSEndpointDeploymentAspectDelegate extends JMSDeploymentAspect
-{
- @Override
- public void start(Deployment dep)
- {
- //ensure the default bus has been set on the server, then proceed
- CXFInitializer.waitForDefaultBusAvailability();
- //TODO:handler JAXBIntro
- if (dep.getAttachment(JMSEndpointsMetaData.class) != null)
- {
- JMSEndpointsMetaData jmsEndpoints = dep.getAttachment(JMSEndpointsMetaData.class);
- URL url = jmsEndpoints.getDescriptorURL();
-
- ClassLoader origClassLoader = SecurityActions.getContextClassLoader();
- try
- {
- SecurityActions.setContextClassLoader(dep.getRuntimeClassLoader());
- Bus bus = new JBossWSSpringBusFactory().createBus(url);
- dep.addAttachment(Bus.class, bus);
- }
- catch (Exception e)
- {
- log.error("Failed to deploy jms endpoints deployment " + url);
- throw new RuntimeException(e);
- }
-
- finally
- {
- BusFactory.setThreadDefaultBus(null);
- SecurityActions.setContextClassLoader(origClassLoader);
- }
- }
- }
-
- @Override
- public void stop(Deployment dep)
- {
- log.debugf("Undeploying jms endpoints in %s", dep.getSimpleName());
- if (dep.getAttachment(Bus.class) != null)
- {
- Bus bus = dep.getAttachment(Bus.class);
- bus.shutdown(false);
- }
- }
-}
-
Deleted: stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms/JMSDescriptorParserImpl.java
===================================================================
--- stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms/JMSDescriptorParserImpl.java 2011-06-14 10:35:43 UTC (rev 14542)
+++ stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms/JMSDescriptorParserImpl.java 2011-06-14 10:39:08 UTC (rev 14543)
@@ -1,58 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.stack.cxf.deployment.jms;
-
-import java.net.URL;
-
-import org.jboss.wsf.spi.metadata.jms.JMSDescriptorParser;
-import org.jboss.wsf.spi.metadata.jms.JMSEndpointsMetaData;
-
-/**
- * JMS descriptor processor implementation.
- *
- * @author <a href="ropalka(a)redhat.com">Richard Opalka</a>
- */
-public final class JMSDescriptorParserImpl implements JMSDescriptorParser
-{
- private String descriptorName;
-
- @Override
- public String getDescriptorName()
- {
- return this.descriptorName;
- }
-
- /**
- * Invoked via MC.
- * @param descriptorName
- */
- public void setDescriptorName(final String descriptorName)
- {
- this.descriptorName = descriptorName;
- }
-
- @Override
- public JMSEndpointsMetaData parse(URL url)
- {
- return JMSEndpointsFactory.load(url);
- }
-}
Deleted: stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms/JMSDescriptorProcessorImpl.java
===================================================================
--- stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms/JMSDescriptorProcessorImpl.java 2011-06-14 10:35:43 UTC (rev 14542)
+++ stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms/JMSDescriptorProcessorImpl.java 2011-06-14 10:39:08 UTC (rev 14543)
@@ -1,86 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.stack.cxf.deployment.jms;
-
-import java.net.URL;
-
-import org.jboss.wsf.spi.metadata.jms.JMSDescriptorProcessor;
-import org.jboss.xb.binding.ObjectModelFactory;
-
-/**
- * JMS descriptor processor implementation.
- *
- * @author <a href="ropalka(a)redhat.com">Richard Opalka</a>
- */
-@Deprecated
-public final class JMSDescriptorProcessorImpl implements JMSDescriptorProcessor
-{
- private String descriptorName;
- private boolean isValidating;
-
- /* (non-Javadoc)
- * @see org.jboss.wsf.spi.metadata.DescriptorProcessor#getDescriptorName()
- */
- @Override
- public String getDescriptorName()
- {
- return this.descriptorName;
- }
-
- /**
- * Invoked via MC.
- * @param descriptorName
- */
- public void setDescriptorName(final String descriptorName)
- {
- this.descriptorName = descriptorName;
- }
-
- /* (non-Javadoc)
- * @see org.jboss.wsf.spi.metadata.DescriptorProcessor#getFactory(java.net.URL)
- */
- public ObjectModelFactory getFactory(final URL url)
- {
- if (url == null)
- throw new IllegalArgumentException("URL cannot be null");
-
- return new JMSEndpointsFactory(url);
- }
-
- /* (non-Javadoc)
- * @see org.jboss.wsf.spi.metadata.DescriptorProcessor#isValidating()
- */
- @Override
- public boolean isValidating()
- {
- return this.isValidating;
- }
-
- /**
- * Invoked via MC.
- * @param isValidating
- */
- public void setValidating(final boolean isValidating)
- {
- this.isValidating = isValidating;
- }
-}
Deleted: stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms/JMSEndpointsFactory.java
===================================================================
--- stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms/JMSEndpointsFactory.java 2011-06-14 10:35:43 UTC (rev 14542)
+++ stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/jms/JMSEndpointsFactory.java 2011-06-14 10:39:08 UTC (rev 14543)
@@ -1,133 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.stack.cxf.deployment.jms;
-
-import java.io.InputStream;
-import java.net.URL;
-
-import javax.xml.ws.WebServiceException;
-
-import org.jboss.wsf.spi.metadata.jms.JMSEndpointMetaData;
-import org.jboss.wsf.spi.metadata.jms.JMSEndpointsMetaData;
-import org.jboss.xb.binding.ObjectModelFactory;
-import org.jboss.xb.binding.Unmarshaller;
-import org.jboss.xb.binding.UnmarshallerFactory;
-import org.jboss.xb.binding.UnmarshallingContext;
-import org.xml.sax.Attributes;
-
-/**
- * JMS Endpoints OjbectModelFactory
- *
- * @author <a href="ema(a)redhat.com">Jim Ma</a>
- */
-public class JMSEndpointsFactory implements ObjectModelFactory
-{
- private URL descriptorURL;
-
- public JMSEndpointsFactory(URL descriptorURL)
- {
- this.descriptorURL = descriptorURL;
- }
-
- public static JMSEndpointsMetaData load(URL url)
- {
- InputStream is = null;
- try
- {
- is = url.openStream();
- Unmarshaller unmarshaller = UnmarshallerFactory.newInstance().newUnmarshaller();
- ObjectModelFactory factory = new JMSEndpointsFactory(url);
- return (JMSEndpointsMetaData) unmarshaller.unmarshal(is, factory, null);
- }
- catch (Exception e)
- {
- throw new WebServiceException(e);
- }
- finally
- {
- if (is != null)
- {
- try
- {
- is.close();
- }
- catch (Exception e)
- {
- } //ignore
- }
- }
- }
-
- /**
- * This method is called on the factory by the object model builder when the parsing starts.
- *
- * @return the root of the object model.
- */
- public Object newRoot(Object root, UnmarshallingContext navigator, String namespaceURI, String localName,
- Attributes attrs)
- {
- return new JMSEndpointsMetaData(descriptorURL);
- }
-
- public Object completeRoot(Object root, UnmarshallingContext ctx, String uri, String name)
- {
- return root;
- }
-
- /**
- * Called when parsing of a new element started.
- */
- public Object newChild(JMSEndpointsMetaData endpoints, UnmarshallingContext navigator, String namespaceURI,
- String localName, Attributes attrs)
- {
- if ("endpoint".equals(localName) && isJMSEndpoint(attrs))
- {
- JMSEndpointMetaData endpoint = new JMSEndpointMetaData(endpoints);
- endpoint.setName(attrs.getValue("name"));
- endpoint.setImplementor(attrs.getValue("implementor"));
- endpoint.setEndpointName(attrs.getValue("endpointName"));
- endpoint.setWsdlLocation(attrs.getValue("wsdlLocation"));
- return endpoint;
- }
- else
- return null;
- }
-
- private boolean isJMSEndpoint(final Attributes attrs)
- {
- if (attrs == null)
- return false;
- if (attrs.getValue("transportId") == null)
- return false;
-
- return attrs.getValue("transportId").equals("http://cxf.apache.org/transports/jms");
- }
-
- /**
- * Called when parsing character is complete.
- */
- public void addChild(JMSEndpointsMetaData endpoints, JMSEndpointMetaData endpointMetaData, UnmarshallingContext navigator, String namespaceURI,
- String localName)
- {
- endpoints.addEndpointMetaData(endpointMetaData);
- }
-}
Modified: stack/cxf/trunk/modules/server/src/main/resources/jbossws-cxf-config-as6.xml
===================================================================
--- stack/cxf/trunk/modules/server/src/main/resources/jbossws-cxf-config-as6.xml 2011-06-14 10:35:43 UTC (rev 14542)
+++ stack/cxf/trunk/modules/server/src/main/resources/jbossws-cxf-config-as6.xml 2011-06-14 10:39:08 UTC (rev 14543)
@@ -24,10 +24,6 @@
<property name="descriptorName">webservices.xml</property>
</bean>
- <bean name="CXFJMSDescriptorParser" class="org.jboss.wsf.stack.cxf.deployment.jms.JMSDescriptorParserImpl">
- <property name="descriptorName">jbossws-cxf.xml</property>
- </bean>
-
<!-- Installed Record Processors-->
<bean name="WSMemoryBufferRecorder" class="org.jboss.ws.common.monitoring.MemoryBufferRecorder">
<property name="recording">false</property>
@@ -94,15 +90,4 @@
<property name="forJaxRpc">false</property>
</bean>
- <!---JMSEndpoints Deployment Aspect-->
- <bean name="JMSEndpointDeploymentAspect" class="org.jboss.wsf.stack.cxf.deployment.aspect.JMSEndpointDeploymentAspect">
- <property name="provides">BusHolder</property>
- <property name="forJaxRpc">false</property>
- </bean>
-
- <bean name="JMSEndpointRegistryDeploymentAspect" class="org.jboss.wsf.stack.cxf.deployment.aspect.JMSEndpointRegistryDeploymentAspect">
- <property name="requires">BusHolder</property>
- <property name="forJaxRpc">false</property>
- </bean>
-
</deployment>
Modified: stack/cxf/trunk/modules/server/src/main/resources/jbossws-cxf-config-as7.xml
===================================================================
--- stack/cxf/trunk/modules/server/src/main/resources/jbossws-cxf-config-as7.xml 2011-06-14 10:35:43 UTC (rev 14542)
+++ stack/cxf/trunk/modules/server/src/main/resources/jbossws-cxf-config-as7.xml 2011-06-14 10:39:08 UTC (rev 14543)
@@ -70,17 +70,6 @@
</deploymentAspect>
<!--
-
- <deploymentAspect class="org.jboss.wsf.stack.cxf.deployment.aspect.JMSEndpointDeploymentAspect">
- <property name="provides" class="java.lang.String">BusHolder</property>
- <property name="forJaxRpc" class="boolean">false</property>
- </deploymentAspect>
-
- <deploymentAspect class="org.jboss.wsf.stack.cxf.deployment.aspect.JMSEndpointRegistryDeploymentAspect">
- <property name="requires" class="java.lang.String">BusHolder</property>
- <property name="forJaxRpc" class="boolean">false</property>
- </deploymentAspect>
-
<deploymentAspect class="org.jboss.ws.common.deployment.EndpointRecordProcessorDeploymentAspect">
<property name="mbeanServer"><inject bean="WSMBeanServerLocator" property="mbeanServer"/></property>
<property name="requires" class="java.lang.String">RegisteredEndpoint</property>
Modified: stack/cxf/trunk/modules/testsuite/cxf-spring-tests/scripts/cxf-samples-jaxws.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-spring-tests/scripts/cxf-samples-jaxws.xml 2011-06-14 10:35:43 UTC (rev 14542)
+++ stack/cxf/trunk/modules/testsuite/cxf-spring-tests/scripts/cxf-samples-jaxws.xml 2011-06-14 10:39:08 UTC (rev 14543)
@@ -35,44 +35,6 @@
</webinf>
</war>
- <!-- jms transport from java for as6 -->
-
- <jar jarfile="${tests.output.dir}/test-libs/hornetq-fromjava-jmsendpoints-as6.sar">
- <fileset dir="${tests.output.dir}/test-resources/jaxws/samples/jmsendpoints/META-INF">
- <include name="hornetq-jms.xml"/>
- </fileset>
- </jar>
-
- <jar jarfile="${tests.output.dir}/test-libs/jaxws-fromjava-jmsendpoints-as6.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/samples/jmstransport/Organization.class"/>
- <include name="org/jboss/test/ws/jaxws/samples/jmstransport/OrganizationJmsImpl.class"/>
- </fileset>
- <metainf dir="${tests.output.dir}/test-resources/jaxws/samples/jmstransport/fromjava/META-INF">
- <include name="jbossws-cxf.xml"/>
- <include name="jboss-dependency.xml"/>
- </metainf>
- </jar>
-
- <!-- jms endpoints sample-->
-
- <jar jarfile="${tests.output.dir}/test-libs/hornetq-jmsendpoints-as6.sar">
- <fileset dir="${tests.output.dir}/test-resources/jaxws/samples/jmsendpoints/META-INF">
- <include name="hornetq-jms.xml"/>
- </fileset>
- </jar>
-
- <jar jarfile="${tests.output.dir}/test-libs/jaxws-samples-jmsendpoints-as6.jar">
- <fileset dir="${tests.output.dir}/test-classes">
- <include name="org/jboss/test/ws/jaxws/samples/jmsendpoints/jmstransport/Organization.class"/>
- <include name="org/jboss/test/ws/jaxws/samples/jmsendpoints/jmstransport/OrganizationJmsEndpoint.class"/>
- </fileset>
- <metainf dir="${tests.output.dir}/test-resources/jaxws/samples/jmsendpoints/META-INF">
- <include name="jbossws-cxf.xml"/>
- <include name="jboss-dependency.xml"/>
- </metainf>
- </jar>
-
<!-- jaxws-samples-wsrm -->
<war
warfile="${tests.output.dir}/test-libs/jaxws-samples-wsrm.war"
Deleted: stack/cxf/trunk/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmstransport/FromJavaJMSTransportTestCase.java
===================================================================
--- stack/cxf/trunk/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmstransport/FromJavaJMSTransportTestCase.java 2011-06-14 10:35:43 UTC (rev 14542)
+++ stack/cxf/trunk/modules/testsuite/cxf-spring-tests/src/test/java/org/jboss/test/ws/jaxws/samples/jmstransport/FromJavaJMSTransportTestCase.java 2011-06-14 10:39:08 UTC (rev 14543)
@@ -1,133 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.test.ws.jaxws.samples.jmstransport;
-
-import javax.jms.Message;
-import javax.jms.MessageListener;
-import javax.jms.Queue;
-import javax.jms.QueueConnection;
-import javax.jms.QueueConnectionFactory;
-import javax.jms.QueueReceiver;
-import javax.jms.QueueSender;
-import javax.jms.QueueSession;
-import javax.jms.Session;
-import javax.jms.TextMessage;
-import javax.naming.InitialContext;
-
-import junit.framework.Test;
-
-import org.jboss.ws.common.DOMUtils;
-import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestSetup;
-
-/**
- * The test for cxf java first jms transport
- *
- * @author <a href=mailto:ema@redhat.com> Jim Ma </a>
- */
-public class FromJavaJMSTransportTestCase extends JBossWSTest
-{
- private static boolean waitForResponse;
-
- public static Test suite() throws Exception
- {
- return new JBossWSTestSetup(FromJavaJMSTransportTestCase.class,
- "hornetq-fromjava-jmsendpoints-as6.sar, jaxws-fromjava-jmsendpoints-as6.jar");
- }
-
- public void testMessagingClient() throws Exception
- {
- String reqMessage =
- "<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>" +
- "<env:Body>" +
- "<ns1:getContactInfo xmlns:ns1='http://org.jboss.ws/samples/jmstransport'>" +
- "<arg0>mafia</arg0>" +
- "</ns1:getContactInfo>" +
- "</env:Body>" +
- "</env:Envelope>";
-
- String resMessage =
- "<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>" +
- "<soap:Body>" +
- "<ns1:getContactInfoResponse xmlns:ns1='http://org.jboss.ws/samples/jmstransport'>" +
- "<return>The 'mafia' boss is currently out of office, please call again.</return>" +
- "</ns1:getContactInfoResponse>" +
- "</soap:Body>" +
- "</soap:Envelope>";
-
- InitialContext context = new InitialContext();
- QueueConnectionFactory connectionFactory = (QueueConnectionFactory)context.lookup("ConnectionFactory");
- Queue reqQueue = (Queue)context.lookup("queue/RequestQueue");
- Queue resQueue = (Queue)context.lookup("queue/ResponseQueue");
-
- QueueConnection con = connectionFactory.createQueueConnection();
- QueueSession session = con.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
- QueueReceiver receiver = session.createReceiver(resQueue);
- ResponseListener responseListener = new ResponseListener();
- receiver.setMessageListener(responseListener);
- con.start();
-
- TextMessage message = session.createTextMessage(reqMessage);
- message.setJMSReplyTo(resQueue);
-
- waitForResponse = true;
-
- QueueSender sender = session.createSender(reqQueue);
- sender.send(message);
- sender.close();
-
- int timeout = 5;
- while (waitForResponse && timeout > 0)
- {
- Thread.sleep(1000);
- timeout = timeout -1;
- }
-
- assertNotNull("Expected response message", responseListener.resMessage);
- assertEquals(DOMUtils.parse(resMessage), DOMUtils.parse(responseListener.resMessage));
-
- sender.close();
- receiver.close();
- con.stop();
- session.close();
- con.close();
- }
-
- public static class ResponseListener implements MessageListener
- {
- public String resMessage;
-
- public void onMessage(Message msg)
- {
- TextMessage textMessage = (TextMessage)msg;
- try
- {
- resMessage = textMessage.getText();
- waitForResponse = false;
- }
- catch (Throwable t)
- {
- t.printStackTrace();
- }
- }
- }
-}
13 years, 6 months
JBossWS SVN: r14542 - in container/jboss60/branches/jbossws-jboss600/src/main: resources/jbossws-jboss.deployer/META-INF and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-06-14 06:35:43 -0400 (Tue, 14 Jun 2011)
New Revision: 14542
Removed:
container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/deployers/JMSDescriptorDeployer.java
Modified:
container/jboss60/branches/jbossws-jboss600/src/main/resources/jbossws-jboss.deployer/META-INF/stack-agnostic-jboss-beans.xml
Log:
[JBWS-3312][JBWS-3307] Remove deprecated stuff
Deleted: container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/deployers/JMSDescriptorDeployer.java
===================================================================
--- container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/deployers/JMSDescriptorDeployer.java 2011-06-14 10:34:42 UTC (rev 14541)
+++ container/jboss60/branches/jbossws-jboss600/src/main/java/org/jboss/webservices/integration/deployers/JMSDescriptorDeployer.java 2011-06-14 10:35:43 UTC (rev 14542)
@@ -1,53 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.webservices.integration.deployers;
-
-import org.jboss.wsf.spi.metadata.jms.JMSDescriptorParser;
-import org.jboss.wsf.spi.metadata.jms.JMSEndpointsMetaData;
-
-/**
- * Stack agnostic JMS descriptor deployer.
- *
- * @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
- */
-public final class JMSDescriptorDeployer extends AbstractDescriptorDeployer<JMSDescriptorParser, JMSEndpointsMetaData>
-{
-
- /**
- * Constructor.
- */
- public JMSDescriptorDeployer()
- {
- super(JMSEndpointsMetaData.class);
- }
-
- /**
- * MC incallback method. It will be invoked each time JMSDescriptorParser bean will be installed.
- * @param parser the parser
- */
- @Override
- public void setParser(final JMSDescriptorParser parser)
- {
- super.setParser(parser);
- }
-
-}
Modified: container/jboss60/branches/jbossws-jboss600/src/main/resources/jbossws-jboss.deployer/META-INF/stack-agnostic-jboss-beans.xml
===================================================================
--- container/jboss60/branches/jbossws-jboss600/src/main/resources/jbossws-jboss.deployer/META-INF/stack-agnostic-jboss-beans.xml 2011-06-14 10:34:42 UTC (rev 14541)
+++ container/jboss60/branches/jbossws-jboss600/src/main/resources/jbossws-jboss.deployer/META-INF/stack-agnostic-jboss-beans.xml 2011-06-14 10:35:43 UTC (rev 14542)
@@ -53,21 +53,11 @@
-->
</bean>
- <!-- stack agnostic webservices.xml processor -->
- <bean name="WSDescriptorProcessor" class="org.jboss.ws.common.deployment.jms.WebservicesDescriptorProcessorImpl">
- <property name="validating">true</property>
- <property name="descriptorName">webservices.xml</property>
- </bean>
-
<!-- deployers -->
<bean name="WSDescriptorDeployer" class="org.jboss.webservices.integration.deployers.WSDescriptorDeployer">
<incallback method="setParser"/>
</bean>
- <bean name="JMSDescriptorDeployer" class="org.jboss.webservices.integration.deployers.JMSDescriptorDeployer">
- <incallback method="setParser"/>
- </bean>
-
<bean name="WSEJBAdapterDeployer" class="org.jboss.webservices.integration.deployers.WSEJBAdapterDeployer"/>
<bean name="WSTypeDeployer" class="org.jboss.webservices.integration.deployers.WSTypeDeployer"/>
13 years, 6 months
JBossWS SVN: r14541 - common/trunk/src/main/java/org/jboss/ws/common/deployment/jms.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-06-14 06:34:42 -0400 (Tue, 14 Jun 2011)
New Revision: 14541
Removed:
common/trunk/src/main/java/org/jboss/ws/common/deployment/jms/WebservicesDescriptorProcessorImpl.java
Log:
[JBWS-3313][JBWS-3307] Removing deprecated and not used anymore impl of WebservicesDescriptorProcessor
Deleted: common/trunk/src/main/java/org/jboss/ws/common/deployment/jms/WebservicesDescriptorProcessorImpl.java
===================================================================
--- common/trunk/src/main/java/org/jboss/ws/common/deployment/jms/WebservicesDescriptorProcessorImpl.java 2011-06-14 10:33:18 UTC (rev 14540)
+++ common/trunk/src/main/java/org/jboss/ws/common/deployment/jms/WebservicesDescriptorProcessorImpl.java 2011-06-14 10:34:42 UTC (rev 14541)
@@ -1,83 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ws.common.deployment.jms;
-
-import org.jboss.wsf.spi.metadata.webservices.WebservicesDescriptorProcessor;
-
-/**
- * Webservices descriptor processor implementation.
- *
- * @author <a href="ropalka(a)redhat.com">Richard Opalka</a>
- */
-@Deprecated
-public final class WebservicesDescriptorProcessorImpl implements WebservicesDescriptorProcessor
-{
- private String descriptorName;
- private boolean isValidating;
-
- /* (non-Javadoc)
- * @see org.jboss.wsf.spi.metadata.DescriptorProcessor#getDescriptorName()
- */
- @Override
- public String getDescriptorName()
- {
- return this.descriptorName;
- }
-
- /**
- * Invoked via MC.
- * @param descriptorName
- */
- public void setDescriptorName(final String descriptorName)
- {
- this.descriptorName = descriptorName;
- }
-
-// /* (non-Javadoc)
-// * @see org.jboss.wsf.spi.metadata.DescriptorProcessor#getFactory(java.net.URL)
-// */
-// public ObjectModelFactory getFactory(final URL url)
-// {
-// if (url == null)
-// throw new IllegalArgumentException("URL cannot be null");
-//
-// return new WebservicesFactory(url);
-// }
-
- /* (non-Javadoc)
- * @see org.jboss.wsf.spi.metadata.DescriptorProcessor#isValidating()
- */
- @Override
- public boolean isValidating()
- {
- return this.isValidating;
- }
-
- /**
- * Invoked via MC.
- * @param isValidating
- */
- public void setValidating(final boolean isValidating)
- {
- this.isValidating = isValidating;
- }
-}
13 years, 6 months
JBossWS SVN: r14540 - in spi/trunk/src/main/java/org/jboss/wsf/spi/metadata: jms and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-06-14 06:33:18 -0400 (Tue, 14 Jun 2011)
New Revision: 14540
Removed:
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/DescriptorProcessor.java
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSDescriptorParser.java
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSDescriptorProcessor.java
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/WebservicesDescriptorProcessor.java
Log:
[JBWS-3312][JBWS-3307] Cleanup of old "JMS descriptor" parser and descriptor processor abstraction (which was deprecated in the past)
Deleted: spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/DescriptorProcessor.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/DescriptorProcessor.java 2011-06-13 20:27:38 UTC (rev 14539)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/DescriptorProcessor.java 2011-06-14 10:33:18 UTC (rev 14540)
@@ -1,49 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.spi.metadata;
-
-
-/**
- * Descriptor processor is abstraction over configuration procesing.
- * @deprecated This will be replaced by {@link org.jboss.wsf.spi.metadata.DescriptorParser} interface.
- *
- * @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
- */
-@Deprecated
-public interface DescriptorProcessor<T>
-{
- /**
- * Indicates whether validation is turned on or off.
- * @return true if validation is on, false otherwise
- */
- boolean isValidating();
- /**
- * Descriptor name to parse and process.
- * @return descriptor name to consume.
- */
- String getDescriptorName();
-// /**
-// * OM factory building object tree from the configuration file.
-// * @return OM factory
-// */
-// ObjectModelFactory getFactory(final URL url);
-}
Deleted: spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSDescriptorParser.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSDescriptorParser.java 2011-06-13 20:27:38 UTC (rev 14539)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSDescriptorParser.java 2011-06-14 10:33:18 UTC (rev 14540)
@@ -1,34 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.spi.metadata.jms;
-
-import org.jboss.wsf.spi.metadata.DescriptorParser;
-
-/**
- * Parser for JMS UMDM.
- *
- * @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
- * @author <a href="mailto:alessio.soldano@jboss.com">Alessio Soldano</a>
- */
-public interface JMSDescriptorParser extends DescriptorParser<JMSEndpointsMetaData>
-{
-}
Deleted: spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSDescriptorProcessor.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSDescriptorProcessor.java 2011-06-13 20:27:38 UTC (rev 14539)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/jms/JMSDescriptorProcessor.java 2011-06-14 10:33:18 UTC (rev 14540)
@@ -1,35 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.spi.metadata.jms;
-
-import org.jboss.wsf.spi.metadata.DescriptorProcessor;
-
-/**
- * Processor for JMS UMDM.
- * @deprecated To be replaced by {@link org.jboss.wsf.spi.metadata.jms.JMSDescriptorParser}
- *
- * @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
- */
-@Deprecated
-public interface JMSDescriptorProcessor extends DescriptorProcessor<JMSEndpointsMetaData>
-{
-}
Deleted: spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/WebservicesDescriptorProcessor.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/WebservicesDescriptorProcessor.java 2011-06-13 20:27:38 UTC (rev 14539)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/WebservicesDescriptorProcessor.java 2011-06-14 10:33:18 UTC (rev 14540)
@@ -1,35 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.wsf.spi.metadata.webservices;
-
-import org.jboss.wsf.spi.metadata.DescriptorProcessor;
-
-/**
- * Processor for WS UMDM.
- *
- * @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
- * @deprecated To be replaced by {@link org.jboss.wsf.spi.metadata.webservices.DescriptorParser}
- */
-@Deprecated
-public interface WebservicesDescriptorProcessor extends DescriptorProcessor<WebservicesMetaData>
-{
-}
13 years, 6 months
JBossWS SVN: r14539 - stack/cxf/trunk.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-06-13 16:27:38 -0400 (Mon, 13 Jun 2011)
New Revision: 14539
Modified:
stack/cxf/trunk/pom.xml
Log:
[JBWS-3303] Moving to Apache CXF 2.4.1
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2011-06-13 14:55:07 UTC (rev 14538)
+++ stack/cxf/trunk/pom.xml 2011-06-13 20:27:38 UTC (rev 14539)
@@ -58,7 +58,7 @@
-->
<!-- END -->
<jboss700.version>7.0.0.Beta4-SNAPSHOT</jboss700.version>
- <cxf.version>2.4.1-SNAPSHOT</cxf.version>
+ <cxf.version>2.4.1</cxf.version>
<cxf.asm.version>3.3</cxf.asm.version>
<cxf.xjcplugins.version>2.3.2</cxf.xjcplugins.version>
<fastinfoset.api.version>1.2.7</fastinfoset.api.version>
13 years, 6 months