JCA 11015 Mark interfaces remotable if @WebServiceProvider is on the implementation
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@983849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
400454850c
commit
349f135aff
1 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue