Author: objectiser
Date: 2011-01-06 11:36:58 -0500 (Thu, 06 Jan 2011)
New Revision: 1214
Modified:
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/EndpointManager.java
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/JBossWSCXFBuildProcessor.java
Log:
Update to use new DSP API.
Modified:
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/EndpointManager.java
===================================================================
---
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/EndpointManager.java 2011-01-06
14:27:47 UTC (rev 1213)
+++
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/EndpointManager.java 2011-01-06
16:36:58 UTC (rev 1214)
@@ -169,7 +169,7 @@
URL serviceUrl = new
WSDLParser(wsdlRef.getDefinition()).getServiceLocationURL(metaData.getServiceName(),
metaData.getPortName());
ServiceEndpointReference ref = m_deployer.deploy(metaData,
providerImpl.getClass(),
- serviceUrl, classLoader, warArchive);
+ serviceUrl, classLoader, warArchive, serverConfig);
/*
//Deployment deployment = createInMemoryDeployment(endpointId);
@@ -251,7 +251,7 @@
{
try
{
- m_deployer.undeploy(ref);
+ m_deployer.undeploy(ref, serverConfig);
// unregister
endpointMapping.remove(key);
Modified:
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/JBossWSCXFBuildProcessor.java
===================================================================
---
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/JBossWSCXFBuildProcessor.java 2011-01-06
14:27:47 UTC (rev 1213)
+++
trunk/runtime/engine/src/main/java/org/jboss/soa/bpel/runtime/ws/JBossWSCXFBuildProcessor.java 2011-01-06
16:36:58 UTC (rev 1214)
@@ -22,6 +22,8 @@
import java.io.FileOutputStream;
import java.io.IOException;
+import org.jboss.soa.dsp.ws.DeploymentBuilder;
+
/**
* This build processor implementation sets the JAXWS web service provider class
* name in the JBossWS CXF configuration file, in one has been defined.
@@ -35,9 +37,9 @@
this.provider = provider;
}
- public void process(File war, File webInf, File wsdlDir) {
+ public void process(DeploymentBuilder builder) {
// Check if jbossws-cxf.xml is present, and if so, updated the provider
implementation class attribute
- File f=new File(webInf, "jbossws-cxf.xml");
+ File f=new File(builder.getWebInf(), "jbossws-cxf.xml");
if (f.exists()) {
FileInputStream fis=null;
Show replies by date