JBossWS SVN: r14724 - stack/cxf/trunk/modules/addons/transports/http/httpserver/src/main/java/org/jboss/wsf/stack/cxf/addons/transports/httpserver.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-07-21 05:19:42 -0400 (Thu, 21 Jul 2011)
New Revision: 14724
Modified:
stack/cxf/trunk/modules/addons/transports/http/httpserver/src/main/java/org/jboss/wsf/stack/cxf/addons/transports/httpserver/HttpServerEngine.java
Log:
[JBWS-3325] Use a thread pool for serving requests to the http server
Modified: stack/cxf/trunk/modules/addons/transports/http/httpserver/src/main/java/org/jboss/wsf/stack/cxf/addons/transports/httpserver/HttpServerEngine.java
===================================================================
--- stack/cxf/trunk/modules/addons/transports/http/httpserver/src/main/java/org/jboss/wsf/stack/cxf/addons/transports/httpserver/HttpServerEngine.java 2011-07-20 18:53:06 UTC (rev 14723)
+++ stack/cxf/trunk/modules/addons/transports/http/httpserver/src/main/java/org/jboss/wsf/stack/cxf/addons/transports/httpserver/HttpServerEngine.java 2011-07-21 09:19:42 UTC (rev 14724)
@@ -23,6 +23,7 @@
import java.io.IOException;
import java.net.InetSocketAddress;
+import java.util.concurrent.Executors;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -90,6 +91,7 @@
try
{
server = HttpServer.create(isa, BACKLOG);
+ server.setExecutor(Executors.newCachedThreadPool());
server.start();
}
catch (IOException e)
13 years, 5 months
JBossWS SVN: r14723 - stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-07-20 14:53:06 -0400 (Wed, 20 Jul 2011)
New Revision: 14723
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/Message.properties
Log:
[JBWS-3329] Fixing message props
Modified: stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/Message.properties
===================================================================
--- stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/Message.properties 2011-07-20 18:16:57 UTC (rev 14722)
+++ stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/Message.properties 2011-07-20 18:53:06 UTC (rev 14723)
@@ -1,4 +1,4 @@
-FILTERS_NOT_SUPPORTED=PortNamePattern, ServiceNamePattern and ProtocolBindings filters not supported; adding handlers anyway.
+FILTERS_NOT_SUPPORTED=PortNamePattern and ServiceNamePattern filters not supported; adding handlers anyway.
INIT_PARAMS_NOT_SUPPORTED=Init params not supported.
PUBLISHING_WSDL_ERROR=Error while publishing wsdl for service {0}
UNABLE_TO_PUBLISH_CONTRACT=WSDLPublisher not configured, unable to publish contract
13 years, 5 months
JBossWS SVN: r14722 - stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/config.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-07-20 14:16:57 -0400 (Wed, 20 Jul 2011)
New Revision: 14722
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/config/JBossWSConfigFactory.java
Log:
[JBWS-3286] Adding AS7 domain model configuration setup support
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/config/JBossWSConfigFactory.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/config/JBossWSConfigFactory.java 2011-07-20 17:09:57 UTC (rev 14721)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/config/JBossWSConfigFactory.java 2011-07-20 18:16:57 UTC (rev 14722)
@@ -37,8 +37,12 @@
import org.jboss.ws.common.utils.JBossWSEntityResolver;
import org.jboss.ws.metadata.config.binding.OMFactoryJAXRPC;
import org.jboss.ws.metadata.config.jaxrpc.ConfigRootJAXRPC;
+import org.jboss.wsf.spi.SPIProvider;
+import org.jboss.wsf.spi.SPIProviderResolver;
import org.jboss.wsf.spi.classloading.ClassLoaderProvider;
import org.jboss.wsf.spi.deployment.UnifiedVirtualFile;
+import org.jboss.wsf.spi.management.ServerConfig;
+import org.jboss.wsf.spi.management.ServerConfigFactory;
import org.jboss.wsf.spi.metadata.config.CommonConfig;
import org.jboss.wsf.spi.metadata.config.ConfigMetaDataParser;
import org.jboss.wsf.spi.metadata.config.ConfigRoot;
@@ -165,6 +169,25 @@
if (configFile == null)
throw new IllegalArgumentException(BundleUtils.getMessage(bundle, "CONFIG_FILE_CANNOT_BE_NULL"));
+ //First check if AS7 domain model is available and comes with the required endpoint config
+ if (ConfigurationProvider.DEFAULT_JAXWS_ENDPOINT_CONFIG_FILE.equals(configFile)) {
+ try {
+ final ClassLoader cl = ClassLoaderProvider.getDefaultProvider().getServerIntegrationClassLoader();
+ SPIProvider spiProvider = SPIProviderResolver.getInstance(cl).getProvider();
+ ServerConfig sc = spiProvider.getSPI(ServerConfigFactory.class, cl).getServerConfig();
+ for (org.jboss.wsf.spi.metadata.config.EndpointConfig config : sc.getEndpointConfigs())
+ {
+ if (config.getConfigName().equals(configName))
+ {
+ return config;
+ }
+ }
+ } catch (Exception e) {
+ log.debug("Could not get server config");
+ }
+ }
+ //otherwise (AS6 or not mached) try looking for the specified conf file...
+
// Get the config root
URL configURL = filenameToURL(vfsRoot, configFile);
Object configRoot = parse(configURL);
13 years, 5 months
JBossWS SVN: r14721 - in stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices: server/integration/main and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-07-20 13:09:57 -0400 (Wed, 20 Jul 2011)
New Revision: 14721
Modified:
stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices/main/module.xml
stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices/server/integration/main/module.xml
Log:
[JBWS-3330] Fixing some dependencies
Modified: stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices/main/module.xml
===================================================================
--- stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices/main/module.xml 2011-07-20 14:08:43 UTC (rev 14720)
+++ stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices/main/module.xml 2011-07-20 17:09:57 UTC (rev 14721)
@@ -53,7 +53,7 @@
<module name="org.jboss.logging"/>
<module name="org.jboss.common-core" />
<module name="org.jboss.ws.api" />
- <module name="org.jboss.ws.common" />
+ <module name="org.jboss.ws.common" services="import" />
<module name="org.jboss.ws.spi" />
<module name="org.picketbox" />
</dependencies>
Modified: stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices/server/integration/main/module.xml
===================================================================
--- stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices/server/integration/main/module.xml 2011-07-20 14:08:43 UTC (rev 14720)
+++ stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices/server/integration/main/module.xml 2011-07-20 17:09:57 UTC (rev 14721)
@@ -36,7 +36,7 @@
<module name="com.sun.tools.javac" export="true"/>
<module name="org.jboss.ws.api" export="true"/>
<module name="org.jboss.ws.spi" export="true"/>
- <module name="org.jboss.ws.common" export="true"/>
+ <module name="org.jboss.ws.common" services="import" export="true"/>
<module name="org.jboss.ws.jaxws-client" services="export" export="true"/>
<module name="org.jboss.ws.native.jbossws-native-factories" services="export" export="true"/>
<module name="org.jboss.ws.native.jbossws-native-core" services="export" export="true">
13 years, 5 months
JBossWS SVN: r14720 - stack/native/branches.
by jbossws-commits@lists.jboss.org
Author: mmusaji
Date: 2011-07-20 10:08:43 -0400 (Wed, 20 Jul 2011)
New Revision: 14720
Added:
stack/native/branches/jbossws-native-3.1.2.SP3_CP01_JBPAPP-6864/
Removed:
stack/native/branches/jbossws-native-3.1.2.SP3_CP01_JBPAPP6864/
Log:
Renamed branch to correct format
13 years, 5 months
JBossWS SVN: r14719 - stack/native/branches.
by jbossws-commits@lists.jboss.org
Author: mmusaji
Date: 2011-07-20 10:03:12 -0400 (Wed, 20 Jul 2011)
New Revision: 14719
Added:
stack/native/branches/jbossws-native-3.1.2.SP3_CP01_JBPAPP6864/
Log:
Create JBPAPP-6864 patch branch from Jbossws-native-3.1.2.CSP3_CP01
13 years, 5 months
JBossWS SVN: r14718 - in stack/native/trunk/modules: testsuite and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-07-20 06:26:00 -0400 (Wed, 20 Jul 2011)
New Revision: 14718
Modified:
stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices/main/module.xml
stack/native/trunk/modules/testsuite/pom.xml
Log:
[AS7-1322] Adding servlet API dependency on webservices module + preparing exclude for yet to be merged test
Modified: stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices/main/module.xml
===================================================================
--- stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices/main/module.xml 2011-07-20 10:23:25 UTC (rev 14717)
+++ stack/native/trunk/modules/resources/src/main/resources/modules/org/jboss/as/webservices/main/module.xml 2011-07-20 10:26:00 UTC (rev 14718)
@@ -32,6 +32,7 @@
<module name="javax.annotation.api"/>
<module name="javax.api"/>
<module name="javax.jws.api"/>
+ <module name="javax.servlet.api"/>
<module name="javax.xml.ws.api"/>
<module name="org.jboss.ejb3"/>
<module name="org.jboss.invocation"/>
Modified: stack/native/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/native/trunk/modules/testsuite/pom.xml 2011-07-20 10:23:25 UTC (rev 14717)
+++ stack/native/trunk/modules/testsuite/pom.xml 2011-07-20 10:26:00 UTC (rev 14718)
@@ -549,6 +549,10 @@
<!-- # [JBWS-3252] Investigate WSA interop tests regression -->
<exclude>org/jboss/test/ws/interop/wsa/AddressingTestCase*</exclude>
+
+ <!-- # [AS7-1322] Implemented on AS 7.0.1 or greater only -->
+ <exclude>org/jboss/test/ws/publish/EndpointPublishTestCase*</exclude>
+
</excludes>
</configuration>
</plugin>
@@ -669,6 +673,10 @@
<!-- # [JBWS-3252] Investigate WSA interop tests regression -->
<exclude>org/jboss/test/ws/interop/wsa/AddressingTestCase*</exclude>
+
+ <!-- # [AS7-1322] Implemented on AS 7.0.1 or greater only -->
+ <exclude>org/jboss/test/ws/publish/EndpointPublishTestCase*</exclude>
+
</excludes>
</configuration>
</plugin>
@@ -835,6 +843,10 @@
<exclude>org/jboss/test/ws/jaxws/samples/serviceref/**</exclude>
<exclude>org/jboss/test/ws/jaxws/wsaddressing/replyto/**</exclude>
<exclude>org/jboss/test/ws/jaxws/jbws1581/**</exclude>
+
+ <!-- # [AS7-1322] Implemented on AS 7.0.1 or greater only -->
+ <exclude>org/jboss/test/ws/publish/EndpointPublishTestCase*</exclude>
+
</excludes>
</configuration>
</plugin>
13 years, 5 months
JBossWS SVN: r14717 - stack/cxf/trunk/modules/testsuite.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-07-20 06:23:25 -0400 (Wed, 20 Jul 2011)
New Revision: 14717
Modified:
stack/cxf/trunk/modules/testsuite/pom.xml
Log:
[AS7-1322] Preparing excludes for test (still to be merged)
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2011-07-20 10:14:32 UTC (rev 14716)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2011-07-20 10:23:25 UTC (rev 14717)
@@ -733,6 +733,9 @@
<exclude>org/jboss/test/ws/jaxws/cxf/jms/**</exclude>
<exclude>org/jboss/test/ws/jaxws/cxf/jms_http/**</exclude>
+ <!-- # [AS7-1322] Implemented on AS 7.0.1 or greater only -->
+ <exclude>org/jboss/test/ws/publish/EndpointPublishTestCase*</exclude>
+
</excludes>
</configuration>
</plugin>
@@ -887,6 +890,9 @@
<exclude>org/jboss/test/ws/jaxws/cxf/jms/**</exclude>
<exclude>org/jboss/test/ws/jaxws/cxf/jms_http/**</exclude>
+ <!-- # [AS7-1322] Implemented on AS 7.0.1 or greater only -->
+ <exclude>org/jboss/test/ws/publish/EndpointPublishTestCase*</exclude>
+
</excludes>
</configuration>
</plugin>
@@ -1070,6 +1076,10 @@
<!-- Former JMS endpoint functionalities replaced by SOAP-over-JMS on AS7 -->
<exclude>org/jboss/test/ws/jaxws/samples/**/jmstransport/**</exclude>
+
+ <!-- # [AS7-1322] Implemented on AS 7.0.1 or greater only -->
+ <exclude>org/jboss/test/ws/publish/EndpointPublishTestCase*</exclude>
+
</excludes>
</configuration>
</plugin>
13 years, 5 months
JBossWS SVN: r14716 - shared-testsuite/trunk/src/main/java/org/jboss/wsf/test.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-07-20 06:14:32 -0400 (Wed, 20 Jul 2011)
New Revision: 14716
Modified:
shared-testsuite/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java
Log:
[JBWS-3211] Fixing log
Modified: shared-testsuite/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java
===================================================================
--- shared-testsuite/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java 2011-07-20 09:21:48 UTC (rev 14715)
+++ shared-testsuite/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java 2011-07-20 10:14:32 UTC (rev 14716)
@@ -224,7 +224,7 @@
if (integrationTarget == null)
throw new IllegalStateException("Cannot obtain system property: " + SYSPROP_JBOSSWS_INTEGRATION_TARGET);
- LOGGER.fatal("TODO: remove this ugly hack");
+ LOGGER.warn("TODO: [JBWS-3211] include AS 7.x into integrationTarget mismatch check");
if (!integrationTarget.startsWith("jboss7"))
{
// Read the JBoss SpecificationVersion
13 years, 5 months
JBossWS SVN: r14715 - in spi/trunk/src/main/java/org/jboss/wsf/spi: publish and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-07-20 05:21:48 -0400 (Wed, 20 Jul 2011)
New Revision: 14715
Added:
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java
Removed:
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java
spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java
Log:
[AS7-1322] Adding EndpointPublisher API
Deleted: spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java
===================================================================
--- spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/Context.java 2011-07-19 09:05:46 UTC (rev 14702)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java 2011-07-20 09:21:48 UTC (rev 14715)
@@ -1,41 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
- * as indicated by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * 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,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
-package org.jboss.wsf.spi.publish;
-
-import java.util.List;
-
-import org.jboss.wsf.spi.deployment.Endpoint;
-
-public class Context {
- private final String context;
- private final List<Endpoint> endpoints;
-
- public Context(String context, List<Endpoint> endpoints) {
- this.endpoints = endpoints;
- this.context = context;
- }
-
- public String getContext() {
- return context;
- }
-
- public List<Endpoint> getEndpoints() {
- return endpoints;
- }
-}
Copied: spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java (from rev 14702, spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/Context.java)
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java (rev 0)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/publish/Context.java 2011-07-20 09:21:48 UTC (rev 14715)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * 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,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.wsf.spi.publish;
+
+import java.util.List;
+
+import org.jboss.wsf.spi.deployment.Endpoint;
+
+public class Context {
+ private final String context;
+ private final List<Endpoint> endpoints;
+
+ public Context(String context, List<Endpoint> endpoints) {
+ this.endpoints = endpoints;
+ this.context = context;
+ }
+
+ public String getContext() {
+ return context;
+ }
+
+ public List<Endpoint> getEndpoints() {
+ return endpoints;
+ }
+}
Deleted: spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java
===================================================================
--- spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java 2011-07-19 09:05:46 UTC (rev 14702)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java 2011-07-20 09:21:48 UTC (rev 14715)
@@ -1,34 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
- * as indicated by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * 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,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
-package org.jboss.wsf.spi.publish;
-
-import java.util.Map;
-
-/**
- * EndpointPublisher defines the interface for facilities allowing to publish/destroy
- * WS endpoints on top of the running JBoss Application Server container.
- *
- * @author <a href="mailto:alessio.soldano@jboss.com">Alessio Soldano</a>
- */
-public interface EndpointPublisher
-{
- public Context publish(String contextRoot, ClassLoader loader, Map<String, String> urlPatternToClassNameMap) throws Exception;
-
- public void destroy(Context context) throws Exception;
-}
Copied: spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java (from rev 14702, spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java)
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java (rev 0)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java 2011-07-20 09:21:48 UTC (rev 14715)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * 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,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.wsf.spi.publish;
+
+import java.util.Map;
+
+/**
+ * EndpointPublisher defines the interface for facilities allowing to publish/destroy
+ * WS endpoints on top of the running JBoss Application Server container.
+ *
+ * @author <a href="mailto:alessio.soldano@jboss.com">Alessio Soldano</a>
+ */
+public interface EndpointPublisher
+{
+ public Context publish(String contextRoot, ClassLoader loader, Map<String, String> urlPatternToClassNameMap) throws Exception;
+
+ public void destroy(Context context) throws Exception;
+}
Deleted: spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java
===================================================================
--- spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java 2011-07-19 09:05:46 UTC (rev 14702)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java 2011-07-20 09:21:48 UTC (rev 14715)
@@ -1,31 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
- * as indicated by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * 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,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- */
-package org.jboss.wsf.spi.publish;
-
-
-/**
- * Factory for retrieving a EndpointPublisher instance for
- * the currently running JBoss Application Server container.
- *
- * @author <a href="mailto:alessio.soldano@jboss.com">Alessio Soldano</a>
- */
-public interface EndpointPublisherFactory
-{
- public EndpointPublisher newEndpointPublisher(String hostname) throws Exception;
-}
Copied: spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java (from rev 14702, spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java)
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java (rev 0)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java 2011-07-20 09:21:48 UTC (rev 14715)
@@ -0,0 +1,31 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * 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,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.wsf.spi.publish;
+
+
+/**
+ * Factory for retrieving a EndpointPublisher instance for
+ * the currently running JBoss Application Server container.
+ *
+ * @author <a href="mailto:alessio.soldano@jboss.com">Alessio Soldano</a>
+ */
+public interface EndpointPublisherFactory
+{
+ public EndpointPublisher newEndpointPublisher(String hostname) throws Exception;
+}
13 years, 5 months