summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/implementation-java/src
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-08-09 16:39:02 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-08-09 16:39:02 +0000
commit7b81d7bea2f9be3f33ad33f1590e282c43bb3135 (patch)
tree3a277008808fce0dcb8a9cbafa5ef5ed26087860 /sca-java-2.x/trunk/modules/implementation-java/src
parentc1b8b3abd0aee06fd2e575a03be290bbfc44ffd3 (diff)
TUSCANY-3641 - comment out part of the previous change that's causing all of the JCAA tests to fail for some reason. Also remove some old commented out code.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@983722 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/implementation-java/src')
-rw-r--r--sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.java27
1 files changed, 2 insertions, 25 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.java b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.java
index 3fdbc19e0e..59765b0161 100644
--- a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.java
+++ b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/xml/JavaImplementationProcessor.java
@@ -328,30 +328,6 @@ public class JavaImplementationProcessor implements StAXArtifactProcessor<JavaIm
}
}
-// private void postJAXWSProcessorResolve(ModelResolver resolver, JavaImplementation impl, ProcessorContext context)
-// throws ContributionResolveException {
-// for(Service service : impl.getServices()){
-// InterfaceContract interfaceContract = service.getInterfaceContract();
-//
-// // InterfaceContract not marked as resolved so have to look
-// // at each type and work it out
-// if (interfaceContract instanceof JavaInterfaceContract){
-// JavaInterfaceContract javaInterfaceContract = (JavaInterfaceContract)interfaceContract;
-// JavaInterface javaInterface = (JavaInterface)javaInterfaceContract.getInterface();
-// if (javaInterface.isUnresolved()){
-// extensionProcessor.resolve(javaInterfaceContract, resolver, context);
-// }
-// } else {
-// WSDLInterfaceContract wsdlInterfaceContract = (WSDLInterfaceContract)interfaceContract;
-// WSDLInterface wsdlInterface = (WSDLInterface)wsdlInterfaceContract.getInterface();
-// if (wsdlInterface.isUnresolved()){
-// //WSDLDefinition resolved = resolver.resolveModel(WSDLDefinition.class, wsdlInterface.getWsdlDefinition(), context);
-// extensionProcessor.resolve(wsdlInterfaceContract, resolver, context);
-// }
-// }
-// }
-// }
-
private void postJAXWSProcessorResolve(ModelResolver resolver, JavaImplementation impl, ProcessorContext context)
throws ContributionResolveException, IncompatibleInterfaceContractException {
for(Service service : impl.getServices()){
@@ -359,7 +335,8 @@ public class JavaImplementationProcessor implements StAXArtifactProcessor<JavaIm
JavaInterface javaInterface = (JavaInterface)javaInterfaceContract.getInterface();
if (javaInterface.isUnresolved()){
- extensionProcessor.resolve(javaInterfaceContract, resolver, context);
+// TODO - Causing JCAA tests to fail?????
+// extensionProcessor.resolve(javaInterfaceContract, resolver, context);
}
WSDLInterfaceContract wsdlInterfaceContract = (WSDLInterfaceContract)javaInterfaceContract.getNormalizedWSDLContract();