diff options
-rw-r--r-- | sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JAXWSProcessor.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JAXWSProcessor.java b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JAXWSProcessor.java index dfa3ac0a56..585dee76ae 100644 --- a/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JAXWSProcessor.java +++ b/sca-java-2.x/trunk/modules/implementation-java/src/main/java/org/apache/tuscany/sca/implementation/java/introspect/impl/JAXWSProcessor.java @@ -40,7 +40,6 @@ import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterface; import org.apache.tuscany.sca.interfacedef.wsdl.WSDLInterfaceContract;
import org.apache.tuscany.sca.policy.Intent;
import org.apache.tuscany.sca.policy.PolicyFactory;
-import org.oasisopen.sca.annotation.Remotable;
/**
* Process JAXWS annotations and updates the component type accordingly
@@ -70,7 +69,11 @@ public class JAXWSProcessor extends BaseJavaClassVisitor { }
if ( clazz.getAnnotation(WebServiceProvider.class) != null ) {
- // TODO Apply @Remotable to interfaces here
+ // If the implementation is annotated with @WebServiceProvider,
+ // make all service interfaces remotable
+ for ( Service s : type.getServices() ) {
+ s.getInterfaceContract().getInterface().setRemotable(true);
+ }
// JCA 11015
}
|