Author: objectiser
Date: 2010-11-23 06:00:41 -0500 (Tue, 23 Nov 2010)
New Revision: 1135
Added:
dwsp/trunk/src/main/java/org/jboss/soa/dsp/
dwsp/trunk/src/main/java/org/jboss/soa/dsp/EndpointMetaData.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/InvocationAdapter.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/MessageAdapter.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ServiceEndpointReference.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ServiceProvider.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/
dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/ServiceDeployer.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/jboss/
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/ServerConfig.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/
Removed:
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/EndpointMetaData.java
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/InvocationAdapter.java
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/MessageAdapter.java
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ServiceEndpointReference.java
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ServiceProvider.java
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/deployer/ServiceDeployer.java
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/deployer/jboss/
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/ServerConfig.java
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/jboss/
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/
Modified:
dwsp/trunk/pom.xml
dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/jboss/JBossServiceDeployer.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/jboss/WebMetaDataFactory.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/KernelAwareSPIFactory.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/KernelLocator.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/MBeanServerLocator.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/ObjectNameFactory.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/ServerConfigFactory.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/ServerConfigImpl.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/BaseWebServiceEndpoint.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/DOMWriter.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/DeploymentBuilder.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/JavaUtils.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/SOAPMessageAdapter.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/TemplateWebServiceEndpoint.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WSDLParser.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WSDLReference.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WSInvocationAdapter.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WebServiceDetails.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WebServiceProviderFactory.java
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WebServiceProviderGenerator.java
Log:
Rename packages to dsp, as may be web service independent in the future.
Modified: dwsp/trunk/pom.xml
===================================================================
--- dwsp/trunk/pom.xml 2010-11-22 17:10:43 UTC (rev 1134)
+++ dwsp/trunk/pom.xml 2010-11-23 11:00:41 UTC (rev 1135)
@@ -3,10 +3,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.soa</groupId>
- <artifactId>dwsp</artifactId>
+ <artifactId>dsp</artifactId>
<packaging>jar</packaging>
<version>1.0.0-SNAPSHOT</version>
- <name>SOA::DWSP</name>
+ <name>SOA::DSP</name>
<properties>
<junit.version>4.8.1</junit.version>
@@ -167,16 +167,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
- <!--plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>2.3</version>
- <configuration>
- <xmlOutput>true</xmlOutput>
- <xmlOutputDirectory>target/site</xmlOutputDirectory>
- <onlyAnalyze>org.jboss.soa.bpel.*</onlyAnalyze>
- </configuration>
- </plugin-->
</plugins>
</reporting>
@@ -198,86 +188,4 @@
</repositories>
-<!--
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.2</version>
- <configuration>
- <aggregate>true</aggregate>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jboss-packaging-maven-plugin</artifactId>
- <version>2.1.1</version>
- <extensions>true</extensions>
- <configuration>
- <excludes>
- <exclude>jboss:jboss-common</exclude>
- <exclude>jboss:jboss-system</exclude>
- <exclude>jboss:jboss-jmx</exclude>
- </excludes>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
-
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- <showDeprecation>false</showDeprecation>
- <showWarnings>false</showWarnings>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <phase>verify</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <includes>
- <include>**/*TestCase.java</include>
- <include>**/*Test.java</include>
- </includes>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
--->
-
</project>
Copied: dwsp/trunk/src/main/java/org/jboss/soa/dsp/EndpointMetaData.java (from rev 1130,
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/EndpointMetaData.java)
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dsp/EndpointMetaData.java
(rev 0)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/EndpointMetaData.java 2010-11-23 11:00:41
UTC (rev 1135)
@@ -0,0 +1,72 @@
+/*
+ * 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.soa.dsp;
+
+import javax.xml.namespace.QName;
+
+/**
+ * Minimum endpoint meta data that's required to create
+ * endpoints. Anything else is derived by the {@link
org.jboss.soa.bpel.runtime.ws.EndpointManager}
+ * itself.
+ *
+ * @author Heiko.Braun <heiko.braun(a)jboss.com>
+ */
+public class EndpointMetaData
+{
+ private QName serviceName;
+ private String portName;
+ private String endpointId;
+ private QName processId;
+
+ public EndpointMetaData(QName serviceName, String portName, QName processId, String
endpointId)
+ {
+ this.serviceName = serviceName;
+ this.portName = portName;
+ this.processId = processId;
+ this.endpointId = endpointId;
+ }
+
+ public QName getServiceName()
+ {
+ return serviceName;
+ }
+
+ public String getPortName()
+ {
+ return portName;
+ }
+
+ public QName getProcessId()
+ {
+ return processId;
+ }
+
+ public String getEndpointId()
+ {
+ return endpointId;
+ }
+
+ public void setEndpointId(String endpointId)
+ {
+ this.endpointId = endpointId;
+ }
+}
Copied: dwsp/trunk/src/main/java/org/jboss/soa/dsp/InvocationAdapter.java (from rev 1130,
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/InvocationAdapter.java)
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dsp/InvocationAdapter.java
(rev 0)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/InvocationAdapter.java 2010-11-23 11:00:41
UTC (rev 1135)
@@ -0,0 +1,66 @@
+/*
+ * 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.soa.dsp;
+
+import javax.xml.namespace.QName;
+
+/**
+ * Hides the message translation details when invoking ODE from
+ * an external component (i.e. ESB or WS).
+ *
+ * @see org.jboss.soa.bpel.runtime.engine.BPELEngine#invoke(InvocationAdapter)
+ *
+ * @author Heiko Braun <hbraun(a)redhat.com>
+ */
+public interface InvocationAdapter<T> {
+
+ String getOperationName();
+
+ QName getServiceName();
+
+ String getPortName();
+
+ /**
+ * Callback from the Service towards the adapter when
+ * turning an external message representation into a Service request.
+ *
+ * @param mex
+ * @param odeRequest
+ */
+ void initRequest(javax.wsdl.Operation op, MessageAdapter request);
+
+ /**
+ * Callback from the Engine towards the adapter when
+ * turning an ODE response {@link org.apache.ode.bpel.iapi.Message} into an external
format <T>
+ * @param mex
+ */
+ void createResponse(javax.wsdl.Operation wsdl, MessageAdapter resp);
+
+ void createFault(javax.wsdl.Operation op, QName faultName, MessageAdapter fault);
+
+ /**
+ * Access the invocation result (response)
+ * @return T
+ */
+ T getInvocationResult();
+
+}
Copied: dwsp/trunk/src/main/java/org/jboss/soa/dsp/MessageAdapter.java (from rev 1130,
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/MessageAdapter.java)
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dsp/MessageAdapter.java
(rev 0)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/MessageAdapter.java 2010-11-23 11:00:41 UTC
(rev 1135)
@@ -0,0 +1,32 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and others 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.soa.dsp;
+
+public interface MessageAdapter {
+
+ public org.w3c.dom.Element getMessage();
+
+ public void setPart(String name, org.w3c.dom.Element elem);
+
+ public org.w3c.dom.Element getPart(String name);
+
+ public void setHeaderPart(String name, org.w3c.dom.Element elem);
+
+ public java.util.Map<String, org.w3c.dom.Node> getHeaderParts();
+
+}
Copied: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ServiceEndpointReference.java (from rev
1130, dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ServiceEndpointReference.java)
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dsp/ServiceEndpointReference.java
(rev 0)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/ServiceEndpointReference.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -0,0 +1,98 @@
+/*
+ * 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.soa.dsp;
+
+/**
+ * References webservice endpoint deployment properties.
+ *
+ * @author Heiko.Braun <heiko.braun(a)jboss.com>
+ */
+public class ServiceEndpointReference
+{
+ private String endpointId;
+ private java.net.URL serviceUrl;
+ private String deploymentName;
+ private String archiveLocation;
+
+ public ServiceEndpointReference(String endpointId, java.net.URL location, String
deploymentName,
+ String archiveLocation)
+ {
+ this.endpointId = endpointId;
+ this.serviceUrl = location;
+ this.deploymentName = deploymentName;
+ this.archiveLocation = archiveLocation;
+System.out.println("GPB: SER endpointId="+endpointId+"
location="+location+" deploymentName="+deploymentName+"
arch="+archiveLocation);
+ }
+
+ public String getArchiveLocation()
+ {
+ return archiveLocation;
+ }
+
+ /*
+ public void setArchiveLocation(String archiveLocation)
+ {
+ this.archiveLocation = archiveLocation;
+ }
+ */
+
+ public String getEndpointId()
+ {
+ return endpointId;
+ }
+
+ public java.net.URL getServiceUrl()
+ {
+ return serviceUrl;
+ }
+
+ public String getDeploymentName()
+ {
+ return deploymentName;
+ }
+
+ @Override
+ public boolean equals(Object o)
+ {
+ if (this == o) return true;
+ if (o == null || getClass() != o.getClass()) return false;
+
+ ServiceEndpointReference that = (ServiceEndpointReference) o;
+
+ if (!archiveLocation.equals(that.archiveLocation)) return false;
+ if (!deploymentName.equals(that.deploymentName)) return false;
+ if (!endpointId.equals(that.endpointId)) return false;
+ if (!serviceUrl.equals(that.serviceUrl)) return false;
+
+ return true;
+ }
+
+ @Override
+ public int hashCode()
+ {
+ int result = endpointId.hashCode();
+ result = 31 * result + serviceUrl.hashCode();
+ result = 31 * result + deploymentName.hashCode();
+ result = 31 * result + archiveLocation.hashCode();
+ return result;
+ }
+}
Copied: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ServiceProvider.java (from rev 1130,
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ServiceProvider.java)
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dsp/ServiceProvider.java
(rev 0)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/ServiceProvider.java 2010-11-23 11:00:41
UTC (rev 1135)
@@ -0,0 +1,46 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and others 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.soa.dsp;
+
+public interface ServiceProvider {
+
+ /**
+ * This method initializes the service invoker. This method must
+ * be called before using the invoker.
+ *
+ * @throws Exception Failed to initialize
+ */
+ public void init() throws Exception;
+
+ /**
+ * This method invokes the associated service using the invocation
+ * adapter supplied.
+ *
+ * @param invocationAdapter The invocation adapter
+ * @throws Exception Failed to invoke the service
+ */
+ public void invoke(InvocationAdapter<?> invocationAdapter) throws Exception;
+
+ /**
+ * This method closes the service invoker.
+ *
+ * @throws Exception Failed to close
+ */
+ public void close() throws Exception;
+
+}
Copied: dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/ServiceDeployer.java (from rev
1130, dwsp/trunk/src/main/java/org/jboss/soa/dwsp/deployer/ServiceDeployer.java)
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/ServiceDeployer.java
(rev 0)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/ServiceDeployer.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -0,0 +1,32 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and others 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.soa.dsp.deployer;
+
+import java.net.URL;
+
+import org.jboss.soa.dsp.EndpointMetaData;
+import org.jboss.soa.dsp.ServiceEndpointReference;
+
+public interface ServiceDeployer {
+
+ public ServiceEndpointReference deploy(EndpointMetaData metaData, Class<?>
providerImpl, URL serviceUrl,
+ ClassLoader classLoader, java.io.File deployment) throws Exception;
+
+ public void undeploy(ServiceEndpointReference ref) throws Exception;
+
+}
Copied: dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/jboss (from rev 1130,
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/deployer/jboss)
Modified:
dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/jboss/JBossServiceDeployer.java
===================================================================
---
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/deployer/jboss/JBossServiceDeployer.java 2010-11-22
13:22:37 UTC (rev 1130)
+++
dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/jboss/JBossServiceDeployer.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -15,7 +15,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
-package org.jboss.soa.dwsp.deployer.jboss;
+package org.jboss.soa.dsp.deployer.jboss;
import java.io.File;
import java.io.IOException;
@@ -31,10 +31,10 @@
import org.jboss.deployers.vfs.spi.client.VFSDeploymentFactory;
import org.jboss.kernel.Kernel;
import org.jboss.metadata.web.jboss.JBossWebMetaData;
-import org.jboss.soa.dwsp.EndpointMetaData;
-import org.jboss.soa.dwsp.ServiceEndpointReference;
-import org.jboss.soa.dwsp.deployer.ServiceDeployer;
-import org.jboss.soa.dwsp.server.jboss.KernelLocator;
+import org.jboss.soa.dsp.EndpointMetaData;
+import org.jboss.soa.dsp.ServiceEndpointReference;
+import org.jboss.soa.dsp.deployer.ServiceDeployer;
+import org.jboss.soa.dsp.server.jboss.KernelLocator;
import org.jboss.virtual.VFS;
import org.jboss.virtual.VirtualFile;
Modified:
dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/jboss/WebMetaDataFactory.java
===================================================================
---
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/deployer/jboss/WebMetaDataFactory.java 2010-11-22
13:22:37 UTC (rev 1130)
+++
dwsp/trunk/src/main/java/org/jboss/soa/dsp/deployer/jboss/WebMetaDataFactory.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,7 +19,7 @@
* 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.soa.dwsp.deployer.jboss;
+package org.jboss.soa.dsp.deployer.jboss;
import org.jboss.metadata.web.jboss.JBossServletMetaData;
import org.jboss.metadata.web.jboss.JBossServletsMetaData;
Copied: dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/ServerConfig.java (from rev
1130, dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/ServerConfig.java)
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/ServerConfig.java
(rev 0)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/ServerConfig.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -0,0 +1,52 @@
+/*
+ * 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.soa.dsp.server;
+
+import java.io.File;
+
+/**
+ * Interface to container independent config
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 08-May-2006
+ */
+public interface ServerConfig
+{
+ String getImplementationTitle();
+
+ String getImplementationVersion();
+
+ File getServerTempDir();
+
+ File getServerDataDir();
+
+ String getWebServiceHost();
+
+ int getWebServicePort();
+
+ int getWebServiceSecurePort();
+
+ String getClusterNodeName();
+
+ String getUddiNodeName();
+
+}
\ No newline at end of file
Copied: dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss (from rev 1130,
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/jboss)
Modified:
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/KernelAwareSPIFactory.java
===================================================================
---
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/jboss/KernelAwareSPIFactory.java 2010-11-22
13:22:37 UTC (rev 1130)
+++
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/KernelAwareSPIFactory.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,7 +19,7 @@
* 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.soa.dwsp.server.jboss;
+package org.jboss.soa.dsp.server.jboss;
import org.jboss.dependency.spi.ControllerContext;
import org.jboss.kernel.spi.dependency.KernelController;
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/KernelLocator.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/jboss/KernelLocator.java 2010-11-22
13:22:37 UTC (rev 1130)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/KernelLocator.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,7 +19,7 @@
* 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.soa.dwsp.server.jboss;
+package org.jboss.soa.dsp.server.jboss;
//$Id$
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/MBeanServerLocator.java
===================================================================
---
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/jboss/MBeanServerLocator.java 2010-11-22
13:22:37 UTC (rev 1130)
+++
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/MBeanServerLocator.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,7 +19,7 @@
* 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.soa.dwsp.server.jboss;
+package org.jboss.soa.dsp.server.jboss;
import javax.management.MBeanServer;
import javax.management.MBeanServerFactory;
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/ObjectNameFactory.java
===================================================================
---
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/jboss/ObjectNameFactory.java 2010-11-22
13:22:37 UTC (rev 1130)
+++
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/ObjectNameFactory.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,7 +19,7 @@
* 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.soa.dwsp.server.jboss;
+package org.jboss.soa.dsp.server.jboss;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
Modified:
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/ServerConfigFactory.java
===================================================================
---
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/jboss/ServerConfigFactory.java 2010-11-22
13:22:37 UTC (rev 1130)
+++
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/ServerConfigFactory.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,9 +19,9 @@
* 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.soa.dwsp.server.jboss;
+package org.jboss.soa.dsp.server.jboss;
-import org.jboss.soa.dwsp.server.ServerConfig;
+import org.jboss.soa.dsp.server.ServerConfig;
/**
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/ServerConfigImpl.java
===================================================================
---
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/jboss/ServerConfigImpl.java 2010-11-22
13:22:37 UTC (rev 1130)
+++
dwsp/trunk/src/main/java/org/jboss/soa/dsp/server/jboss/ServerConfigImpl.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,11 +19,11 @@
* 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.soa.dwsp.server.jboss;
+package org.jboss.soa.dsp.server.jboss;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.jboss.soa.dwsp.server.ServerConfig;
+import org.jboss.soa.dsp.server.ServerConfig;
import org.jboss.util.id.GUID;
import javax.management.AttributeNotFoundException;
Copied: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws (from rev 1130,
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws)
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/BaseWebServiceEndpoint.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/BaseWebServiceEndpoint.java 2010-11-22
13:22:37 UTC (rev 1130)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/BaseWebServiceEndpoint.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,7 +19,7 @@
* 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.soa.dwsp.ws;
+package org.jboss.soa.dsp.ws;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -40,7 +40,7 @@
* Base class for BPEL endpoints that are created through javassist.
* Represents a JAX-WS {@link javax.xml.ws.Provider} implementation.
*
- * @see org.jboss.soa.dwsp.ws.WebServiceProviderGenerator
+ * @see org.jboss.soa.dsp.ws.WebServiceProviderGenerator
*
* @author Heiko.Braun <heiko.braun(a)jboss.com>
*/
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/DOMWriter.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/DOMWriter.java 2010-11-22 13:22:37 UTC
(rev 1130)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/DOMWriter.java 2010-11-23 11:00:41 UTC
(rev 1135)
@@ -19,7 +19,7 @@
* 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.soa.dwsp.ws;
+package org.jboss.soa.dsp.ws;
/*
* ====================================================================
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/DeploymentBuilder.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/DeploymentBuilder.java 2010-11-22
13:22:37 UTC (rev 1130)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/DeploymentBuilder.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,9 +19,9 @@
* 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.soa.dwsp.ws;
+package org.jboss.soa.dsp.ws;
-import org.jboss.soa.dwsp.server.ServerConfig;
+import org.jboss.soa.dsp.server.ServerConfig;
import java.io.*;
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/JavaUtils.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/JavaUtils.java 2010-11-22 13:22:37 UTC
(rev 1130)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/JavaUtils.java 2010-11-23 11:00:41 UTC
(rev 1135)
@@ -19,7 +19,7 @@
* 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.soa.dwsp.ws;
+package org.jboss.soa.dsp.ws;
import java.io.ByteArrayOutputStream;
import java.lang.reflect.Method;
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/SOAPMessageAdapter.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/SOAPMessageAdapter.java 2010-11-22
13:22:37 UTC (rev 1130)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/SOAPMessageAdapter.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,12 +19,12 @@
* 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.soa.dwsp.ws;
+package org.jboss.soa.dsp.ws;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
//import org.apache.xerces.jaxp.DocumentBuilderFactoryImpl;
-import org.jboss.soa.dwsp.MessageAdapter;
+import org.jboss.soa.dsp.MessageAdapter;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/TemplateWebServiceEndpoint.java
===================================================================
---
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/TemplateWebServiceEndpoint.java 2010-11-22
13:22:37 UTC (rev 1130)
+++
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/TemplateWebServiceEndpoint.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,7 +19,7 @@
* 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.soa.dwsp.ws;
+package org.jboss.soa.dsp.ws;
import javax.xml.soap.*;
@@ -34,7 +34,7 @@
* be the specific endpoint implementation. This is necessary as
* javassist does not provide a way to set a interface that uses generics.
*
- * @see org.jboss.soa.dwsp.ws.WebServiceProviderGenerator
+ * @see org.jboss.soa.dsp.ws.WebServiceProviderGenerator
*
*/
public class TemplateWebServiceEndpoint extends BaseWebServiceEndpoint implements
Provider<SOAPMessage>
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WSDLParser.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/WSDLParser.java 2010-11-22 13:22:37 UTC
(rev 1130)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WSDLParser.java 2010-11-23 11:00:41 UTC
(rev 1135)
@@ -19,7 +19,7 @@
* 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.soa.dwsp.ws;
+package org.jboss.soa.dsp.ws;
import javax.wsdl.*;
import javax.wsdl.extensions.soap.SOAPAddress;
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WSDLReference.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/WSDLReference.java 2010-11-22 13:22:37
UTC (rev 1130)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WSDLReference.java 2010-11-23 11:00:41
UTC (rev 1135)
@@ -19,7 +19,7 @@
* 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.soa.dwsp.ws;
+package org.jboss.soa.dsp.ws;
import javax.wsdl.Definition;
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WSInvocationAdapter.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/WSInvocationAdapter.java 2010-11-22
13:22:37 UTC (rev 1130)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WSInvocationAdapter.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,10 +19,10 @@
* 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.soa.dwsp.ws;
+package org.jboss.soa.dsp.ws;
-import org.jboss.soa.dwsp.InvocationAdapter;
-import org.jboss.soa.dwsp.MessageAdapter;
+import org.jboss.soa.dsp.InvocationAdapter;
+import org.jboss.soa.dsp.MessageAdapter;
import javax.xml.namespace.QName;
import javax.xml.soap.MessageFactory;
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WebServiceDetails.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/WebServiceDetails.java 2010-11-22
13:22:37 UTC (rev 1130)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WebServiceDetails.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -15,7 +15,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
-package org.jboss.soa.dwsp.ws;
+package org.jboss.soa.dsp.ws;
import java.lang.annotation.*;
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WebServiceProviderFactory.java
===================================================================
---
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/WebServiceProviderFactory.java 2010-11-22
13:22:37 UTC (rev 1130)
+++
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WebServiceProviderFactory.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -15,11 +15,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
-package org.jboss.soa.dwsp.ws;
+package org.jboss.soa.dsp.ws;
import javax.xml.namespace.QName;
-import org.jboss.soa.dwsp.ServiceProvider;
+import org.jboss.soa.dsp.ServiceProvider;
public interface WebServiceProviderFactory {
Modified: dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WebServiceProviderGenerator.java
===================================================================
---
dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ws/WebServiceProviderGenerator.java 2010-11-22
13:22:37 UTC (rev 1130)
+++
dwsp/trunk/src/main/java/org/jboss/soa/dsp/ws/WebServiceProviderGenerator.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -19,7 +19,7 @@
* 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.soa.dwsp.ws;
+package org.jboss.soa.dsp.ws;
import javassist.*;
import javassist.bytecode.AnnotationsAttribute;
@@ -36,7 +36,7 @@
* Creates JAX-WS Provider classes using javassist.
* These provider classes can then be deployed to JBossWS in memory.<p>
* The javassist generated class basically just carries the meta data,
- * while the actual implementation resides in {@link
org.jboss.soa.dwsp.ws.BaseWebServiceEndpoint}
+ * while the actual implementation resides in {@link
org.jboss.soa.dsp.ws.BaseWebServiceEndpoint}
*
* @author Heiko.Braun <heiko.braun(a)jboss.com>
*/
@@ -72,7 +72,7 @@
// interface that supports generics. Although the super class
(AbstractWebServiceEndpoint)
// implements this Provider<SOAPMessage> interface, CXF requires the actual web
service
// implementation class to directly define this interface. (RIFTSAW-123)
- CtClass impl =
pool.get(org.jboss.soa.dwsp.ws.TemplateWebServiceEndpoint.class.getName());
+ CtClass impl =
pool.get(org.jboss.soa.dsp.ws.TemplateWebServiceEndpoint.class.getName());
impl.setName(implClassName);
// AbstractWebServiceEndpoint.endpointId property
@@ -146,7 +146,7 @@
// Specify the web service providerdetails
Annotation detailsAnnotation = new Annotation(
- org.jboss.soa.dwsp.ws.WebServiceDetails.class.getName(), constantPool);
+ org.jboss.soa.dsp.ws.WebServiceDetails.class.getName(), constantPool);
detailsAnnotation.addMemberValue("factory",
new StringMemberValue(providerFactory.getName(), constantPool));
Deleted: dwsp/trunk/src/main/java/org/jboss/soa/dwsp/EndpointMetaData.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/EndpointMetaData.java 2010-11-22 17:10:43
UTC (rev 1134)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dwsp/EndpointMetaData.java 2010-11-23 11:00:41
UTC (rev 1135)
@@ -1,72 +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.soa.dwsp;
-
-import javax.xml.namespace.QName;
-
-/**
- * Minimum endpoint meta data that's required to create
- * endpoints. Anything else is derived by the {@link
org.jboss.soa.bpel.runtime.ws.EndpointManager}
- * itself.
- *
- * @author Heiko.Braun <heiko.braun(a)jboss.com>
- */
-public class EndpointMetaData
-{
- private QName serviceName;
- private String portName;
- private String endpointId;
- private QName processId;
-
- public EndpointMetaData(QName serviceName, String portName, QName processId, String
endpointId)
- {
- this.serviceName = serviceName;
- this.portName = portName;
- this.processId = processId;
- this.endpointId = endpointId;
- }
-
- public QName getServiceName()
- {
- return serviceName;
- }
-
- public String getPortName()
- {
- return portName;
- }
-
- public QName getProcessId()
- {
- return processId;
- }
-
- public String getEndpointId()
- {
- return endpointId;
- }
-
- public void setEndpointId(String endpointId)
- {
- this.endpointId = endpointId;
- }
-}
Deleted: dwsp/trunk/src/main/java/org/jboss/soa/dwsp/InvocationAdapter.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/InvocationAdapter.java 2010-11-22 17:10:43
UTC (rev 1134)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dwsp/InvocationAdapter.java 2010-11-23 11:00:41
UTC (rev 1135)
@@ -1,66 +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.soa.dwsp;
-
-import javax.xml.namespace.QName;
-
-/**
- * Hides the message translation details when invoking ODE from
- * an external component (i.e. ESB or WS).
- *
- * @see org.jboss.soa.bpel.runtime.engine.BPELEngine#invoke(InvocationAdapter)
- *
- * @author Heiko Braun <hbraun(a)redhat.com>
- */
-public interface InvocationAdapter<T> {
-
- String getOperationName();
-
- QName getServiceName();
-
- String getPortName();
-
- /**
- * Callback from the Service towards the adapter when
- * turning an external message representation into a Service request.
- *
- * @param mex
- * @param odeRequest
- */
- void initRequest(javax.wsdl.Operation op, MessageAdapter request);
-
- /**
- * Callback from the Engine towards the adapter when
- * turning an ODE response {@link org.apache.ode.bpel.iapi.Message} into an external
format <T>
- * @param mex
- */
- void createResponse(javax.wsdl.Operation wsdl, MessageAdapter resp);
-
- void createFault(javax.wsdl.Operation op, QName faultName, MessageAdapter fault);
-
- /**
- * Access the invocation result (response)
- * @return T
- */
- T getInvocationResult();
-
-}
Deleted: dwsp/trunk/src/main/java/org/jboss/soa/dwsp/MessageAdapter.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/MessageAdapter.java 2010-11-22 17:10:43
UTC (rev 1134)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dwsp/MessageAdapter.java 2010-11-23 11:00:41
UTC (rev 1135)
@@ -1,32 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2009, Red Hat Middleware LLC, and others 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.soa.dwsp;
-
-public interface MessageAdapter {
-
- public org.w3c.dom.Element getMessage();
-
- public void setPart(String name, org.w3c.dom.Element elem);
-
- public org.w3c.dom.Element getPart(String name);
-
- public void setHeaderPart(String name, org.w3c.dom.Element elem);
-
- public java.util.Map<String, org.w3c.dom.Node> getHeaderParts();
-
-}
Deleted: dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ServiceEndpointReference.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ServiceEndpointReference.java 2010-11-22
17:10:43 UTC (rev 1134)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ServiceEndpointReference.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -1,98 +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.soa.dwsp;
-
-/**
- * References webservice endpoint deployment properties.
- *
- * @author Heiko.Braun <heiko.braun(a)jboss.com>
- */
-public class ServiceEndpointReference
-{
- private String endpointId;
- private java.net.URL serviceUrl;
- private String deploymentName;
- private String archiveLocation;
-
- public ServiceEndpointReference(String endpointId, java.net.URL location, String
deploymentName,
- String archiveLocation)
- {
- this.endpointId = endpointId;
- this.serviceUrl = location;
- this.deploymentName = deploymentName;
- this.archiveLocation = archiveLocation;
-System.out.println("GPB: SER endpointId="+endpointId+"
location="+location+" deploymentName="+deploymentName+"
arch="+archiveLocation);
- }
-
- public String getArchiveLocation()
- {
- return archiveLocation;
- }
-
- /*
- public void setArchiveLocation(String archiveLocation)
- {
- this.archiveLocation = archiveLocation;
- }
- */
-
- public String getEndpointId()
- {
- return endpointId;
- }
-
- public java.net.URL getServiceUrl()
- {
- return serviceUrl;
- }
-
- public String getDeploymentName()
- {
- return deploymentName;
- }
-
- @Override
- public boolean equals(Object o)
- {
- if (this == o) return true;
- if (o == null || getClass() != o.getClass()) return false;
-
- ServiceEndpointReference that = (ServiceEndpointReference) o;
-
- if (!archiveLocation.equals(that.archiveLocation)) return false;
- if (!deploymentName.equals(that.deploymentName)) return false;
- if (!endpointId.equals(that.endpointId)) return false;
- if (!serviceUrl.equals(that.serviceUrl)) return false;
-
- return true;
- }
-
- @Override
- public int hashCode()
- {
- int result = endpointId.hashCode();
- result = 31 * result + serviceUrl.hashCode();
- result = 31 * result + deploymentName.hashCode();
- result = 31 * result + archiveLocation.hashCode();
- return result;
- }
-}
Deleted: dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ServiceProvider.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ServiceProvider.java 2010-11-22 17:10:43
UTC (rev 1134)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dwsp/ServiceProvider.java 2010-11-23 11:00:41
UTC (rev 1135)
@@ -1,46 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2009, Red Hat Middleware LLC, and others 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.soa.dwsp;
-
-public interface ServiceProvider {
-
- /**
- * This method initializes the service invoker. This method must
- * be called before using the invoker.
- *
- * @throws Exception Failed to initialize
- */
- public void init() throws Exception;
-
- /**
- * This method invokes the associated service using the invocation
- * adapter supplied.
- *
- * @param invocationAdapter The invocation adapter
- * @throws Exception Failed to invoke the service
- */
- public void invoke(InvocationAdapter<?> invocationAdapter) throws Exception;
-
- /**
- * This method closes the service invoker.
- *
- * @throws Exception Failed to close
- */
- public void close() throws Exception;
-
-}
Deleted: dwsp/trunk/src/main/java/org/jboss/soa/dwsp/deployer/ServiceDeployer.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/deployer/ServiceDeployer.java 2010-11-22
17:10:43 UTC (rev 1134)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dwsp/deployer/ServiceDeployer.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -1,32 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2009, Red Hat Middleware LLC, and others 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.soa.dwsp.deployer;
-
-import java.net.URL;
-
-import org.jboss.soa.dwsp.EndpointMetaData;
-import org.jboss.soa.dwsp.ServiceEndpointReference;
-
-public interface ServiceDeployer {
-
- public ServiceEndpointReference deploy(EndpointMetaData metaData, Class<?>
providerImpl, URL serviceUrl,
- ClassLoader classLoader, java.io.File deployment) throws Exception;
-
- public void undeploy(ServiceEndpointReference ref) throws Exception;
-
-}
Deleted: dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/ServerConfig.java
===================================================================
--- dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/ServerConfig.java 2010-11-22
17:10:43 UTC (rev 1134)
+++ dwsp/trunk/src/main/java/org/jboss/soa/dwsp/server/ServerConfig.java 2010-11-23
11:00:41 UTC (rev 1135)
@@ -1,52 +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.soa.dwsp.server;
-
-import java.io.File;
-
-/**
- * Interface to container independent config
- *
- * @author Thomas.Diesler(a)jboss.org
- * @since 08-May-2006
- */
-public interface ServerConfig
-{
- String getImplementationTitle();
-
- String getImplementationVersion();
-
- File getServerTempDir();
-
- File getServerDataDir();
-
- String getWebServiceHost();
-
- int getWebServicePort();
-
- int getWebServiceSecurePort();
-
- String getClusterNodeName();
-
- String getUddiNodeName();
-
-}
\ No newline at end of file