tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r440477 - in /incubator/tuscany/java/sca: kernel/core/src/main/java/org/apache/tuscany/core/builder/ kernel/core/src/main/java/org/apache/tuscany/core/implementation/system/wire/ kernel/core/src/main/java/org/apache/tuscany/core/wire/ kerne...
Date Tue, 05 Sep 2006 20:40:41 GMT
Author: rfeng
Date: Tue Sep  5 13:40:40 2006
New Revision: 440477

URL: http://svn.apache.org/viewvc?view=rev&rev=440477
Log:
Generalize references to Operation in InboundWire

Modified:
    incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/builder/ConnectorImpl.java
    incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/system/wire/SystemInboundWireImpl.java
    incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/wire/InboundWireImpl.java
    incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/wire/jdk/JDKWireService.java
    incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/java/integration/component/OneWayWireInvocationTestCase.java
    incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/java/mock/MockFactory.java
    incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/mock/factories/MockFactory.java
    incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/Operation.java
    incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/InboundWire.java
    incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java
    incubator/tuscany/java/sca/test/src/main/java/org/apache/tuscany/test/ArtifactFactory.java

Modified: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/builder/ConnectorImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/builder/ConnectorImpl.java?view=diff&rev=440477&r1=440476&r2=440477
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/builder/ConnectorImpl.java
(original)
+++ incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/builder/ConnectorImpl.java
Tue Sep  5 13:40:40 2006
@@ -91,7 +91,7 @@
             // connect inbound wires
             for (InboundWire<T> inboundWire : sourceComponent.getInboundWires().values())
{
                 for (InboundInvocationChain chain : inboundWire.getInvocationChains().values())
{
-                    Operation operation = chain.getOperation();
+                    Operation<?> operation = chain.getOperation();
                     TargetInvoker invoker = sourceComponent.createTargetInvoker(null, operation);
                     chain.setTargetInvoker(invoker);
                     chain.prepare();
@@ -100,7 +100,7 @@
         } else if (source instanceof Reference) {
             Reference<?> reference = (Reference) source;
             InboundWire<?> wire = reference.getInboundWire();
-            Map<Operation, InboundInvocationChain> chains = wire.getInvocationChains();
+            Map<Operation<?>, InboundInvocationChain> chains = wire.getInvocationChains();
             // for references, no need to have an outbound wire
             for (InboundInvocationChain chain : chains.values()) {
                 //TODO handle async
@@ -162,7 +162,7 @@
             // run wire post-processors
             postProcessorRegistry.process(sourceWire, targetWire);
         }
-        Map<Operation, InboundInvocationChain> targetChains = targetWire.getInvocationChains();
+        Map<Operation<?>, InboundInvocationChain> targetChains = targetWire.getInvocationChains();
         // perform optimization, if possible
         // REVIEW: (kentaminator@gmail.com) shouldn't this check whether the interceptors
in the
         // source & target chains are marked as optimizable?  (and if so, optimize them
away?)
@@ -173,7 +173,7 @@
         ServiceContract contract = sourceWire.getServiceContract();
         for (OutboundInvocationChain outboundChain : sourceWire.getInvocationChains().values())
{
             // match wire chains
-            Operation operation = outboundChain.getOperation();
+            Operation<?> operation = outboundChain.getOperation();
             InboundInvocationChain inboundChain = targetChains.get(operation);
             if (inboundChain == null) {
                 BuilderConfigException e =
@@ -194,7 +194,7 @@
                 if (isOneWayOperation || operationHasCallback) {
                     invoker = component.createAsyncTargetInvoker(sourceWire, operation);
                 } else {
-                    Operation inboundOperation = inboundChain.getOperation();
+                    Operation<?> inboundOperation = inboundChain.getOperation();
                     invoker = component.createTargetInvoker(null, inboundOperation);
                 }
             } else if (target instanceof Reference) {
@@ -225,7 +225,7 @@
             }
             if (source instanceof Component) {
                 Component component = (Component) source;
-                Operation operation = outboundChain.getOperation();
+                Operation<?> operation = outboundChain.getOperation();
                 boolean isOneWayOperation = operation.isNonBlocking();
                 boolean operationHasCallback = contract.getCallbackName() != null;
                 if (isOneWayOperation && operationHasCallback) {
@@ -235,7 +235,7 @@
                 if (isOneWayOperation || operationHasCallback) {
                     invoker = component.createAsyncTargetInvoker(sourceWire, operation);
                 } else {
-                    Operation inboundOperation = inboundChain.getOperation();
+                    Operation<?> inboundOperation = inboundChain.getOperation();
                     invoker = component.createTargetInvoker(null, inboundOperation);
                 }
                 connect(outboundChain, inboundChain, invoker);

Modified: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/system/wire/SystemInboundWireImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/system/wire/SystemInboundWireImpl.java?view=diff&rev=440477&r1=440476&r2=440477
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/system/wire/SystemInboundWireImpl.java
(original)
+++ incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/implementation/system/wire/SystemInboundWireImpl.java
Tue Sep  5 13:40:40 2006
@@ -85,11 +85,11 @@
         return new Class[0];
     }
 
-    public Map<Operation, InboundInvocationChain> getInvocationChains() {
+    public Map<Operation<?>, InboundInvocationChain> getInvocationChains() {
         return Collections.emptyMap();
     }
 
-    public void addInvocationChain(Operation operation, InboundInvocationChain chain) {
+    public void addInvocationChain(Operation<?> operation, InboundInvocationChain chain)
{
         throw new UnsupportedOperationException();
     }
 

Modified: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/wire/InboundWireImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/wire/InboundWireImpl.java?view=diff&rev=440477&r1=440476&r2=440477
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/wire/InboundWireImpl.java
(original)
+++ incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/wire/InboundWireImpl.java
Tue Sep  5 13:40:40 2006
@@ -41,7 +41,7 @@
     private ServiceContract serviceContract;
     private OutboundWire<T> targetWire;
     private String callbackReferenceName;
-    private Map<Operation, InboundInvocationChain> chains = new HashMap<Operation,
InboundInvocationChain>();
+    private Map<Operation<?>, InboundInvocationChain> chains = new HashMap<Operation<?>,
InboundInvocationChain>();
 
     @SuppressWarnings("unchecked")
     public T getTargetService() throws TargetException {
@@ -72,15 +72,15 @@
         this.serviceName = serviceName;
     }
 
-    public Map<Operation, InboundInvocationChain> getInvocationChains() {
+    public Map<Operation<?>, InboundInvocationChain> getInvocationChains() {
         return chains;
     }
 
-    public void addInvocationChains(Map<Operation, InboundInvocationChain> chains)
{
+    public void addInvocationChains(Map<Operation<?>, InboundInvocationChain>
chains) {
         this.chains.putAll(chains);
     }
 
-    public void addInvocationChain(Operation operation, InboundInvocationChain chain) {
+    public void addInvocationChain(Operation<?> operation, InboundInvocationChain chain)
{
         chains.put(operation, chain);
     }
 

Modified: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/wire/jdk/JDKWireService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/wire/jdk/JDKWireService.java?view=diff&rev=440477&r1=440476&r2=440477
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/wire/jdk/JDKWireService.java
(original)
+++ incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/wire/jdk/JDKWireService.java
Tue Sep  5 13:40:40 2006
@@ -87,8 +87,8 @@
     private Map<Method, InboundInvocationChain> createInboundMapping(InboundWire<?>
wire, Method[] methods)
         throws NoMethodForOperationException {
         Map<Method, InboundInvocationChain> chains = new HashMap<Method, InboundInvocationChain>();
-        for (Map.Entry<Operation, InboundInvocationChain> entry : wire.getInvocationChains().entrySet())
{
-            Operation operation = entry.getKey();
+        for (Map.Entry<Operation<?>, InboundInvocationChain> entry : wire.getInvocationChains().entrySet())
{
+            Operation<?> operation = entry.getKey();
             InboundInvocationChain chain = entry.getValue();
             Method method = findMethod(operation, methods);
             if (method == null) {
@@ -154,11 +154,11 @@
         return new JDKCallbackInvocationHandler(context);
     }
 
-    public OutboundInvocationChain createOutboundChain(Operation operation) {
+    public OutboundInvocationChain createOutboundChain(Operation<?> operation) {
         return new OutboundInvocationChainImpl(operation);
     }
 
-    public InboundInvocationChain createInboundChain(Operation operation) {
+    public InboundInvocationChain createInboundChain(Operation<?> operation) {
         return new InboundInvocationChainImpl(operation);
     }
 
@@ -190,7 +190,7 @@
     public <T> void createWires(Reference<T> reference, ServiceContract<?>
contract) {
         InboundWire<T> wire = new InboundWireImpl<T>();
         wire.setServiceContract(contract);
-        for (Operation operation : contract.getOperations().values()) {
+        for (Operation<?> operation : contract.getOperations().values()) {
             InboundInvocationChain chain = createInboundChain(operation);
             chain.addInterceptor(new InvokerInterceptor());
             wire.addInvocationChain(operation, chain);
@@ -218,7 +218,7 @@
         wire.setTargetName(qName);
         wire.setServiceContract(contract);
         wire.setReferenceName(reference.getReferenceName());
-        for (Operation operation : contract.getOperations().values()) {
+        for (Operation<?> operation : contract.getOperations().values()) {
             //TODO handle policy
             OutboundInvocationChain chain = createOutboundChain(operation);
             wire.addInvocationChain(operation, chain);
@@ -227,7 +227,7 @@
         Class<?> callbackInterface = contract.getCallbackClass();
         if (callbackInterface != null) {
             wire.setCallbackInterface(callbackInterface);
-            for (Operation operation : contract.getCallbacksOperations().values()) {
+            for (Operation<?> operation : contract.getCallbacksOperations().values())
{
                 InboundInvocationChain callbackTargetChain = createInboundChain(operation);
                 OutboundInvocationChain callbackSourceChain = createOutboundChain(operation);
                 // TODO handle policy
@@ -245,7 +245,7 @@
         ServiceContract<?> contract = service.getServiceContract();
         wire.setServiceContract(contract);
         wire.setServiceName(service.getName());
-        for (Operation operation : contract.getOperations().values()) {
+        for (Operation<?> operation : contract.getOperations().values()) {
             InboundInvocationChain chain = createInboundChain(operation);
             // TODO handle policy
             //TODO statement below could be cleaner
@@ -265,7 +265,7 @@
         inboundWire.setServiceContract(contract);
         outboundWire.setServiceContract(contract);
         outboundWire.setTargetName(new QualifiedName(targetName));
-        for (Operation operation : contract.getOperations().values()) {
+        for (Operation<?> operation : contract.getOperations().values()) {
             InboundInvocationChain inboundChain = createInboundChain(operation);
             inboundWire.addInvocationChain(operation, inboundChain);
             OutboundInvocationChain outboundChain = createOutboundChain(operation);

Modified: incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/java/integration/component/OneWayWireInvocationTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/java/integration/component/OneWayWireInvocationTestCase.java?view=diff&rev=440477&r1=440476&r2=440477
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/java/integration/component/OneWayWireInvocationTestCase.java
(original)
+++ incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/java/integration/component/OneWayWireInvocationTestCase.java
Tue Sep  5 13:40:40 2006
@@ -75,7 +75,7 @@
         AsyncJavaTargetInvoker invoker = new AsyncJavaTargetInvoker(method, null, component,
scheduler, null, context);
         InboundWire<AsyncTarget> wire =
             createServiceWire("foo", AsyncTarget.class, null, null, null);
-        Map<Operation, InboundInvocationChain> chains = wire.getInvocationChains();
+        Map<Operation<?>, InboundInvocationChain> chains = wire.getInvocationChains();
         InboundInvocationChain chain = chains.get(wire.getServiceContract().getOperations().get("invoke"));
         chain.setTargetInvoker(invoker);
         chain.prepare();

Modified: incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/java/mock/MockFactory.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/java/mock/MockFactory.java?view=diff&rev=440477&r1=440476&r2=440477
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/java/mock/MockFactory.java
(original)
+++ incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/implementation/java/mock/MockFactory.java
Tue Sep  5 13:40:40 2006
@@ -304,7 +304,7 @@
                                boolean cacheable) throws Exception {
         if (inboundWire != null) {
             // if null, the target side has no interceptors or handlers
-            Map<Operation, InboundInvocationChain> targetInvocationConfigs = inboundWire.getInvocationChains();
+            Map<Operation<?>, InboundInvocationChain> targetInvocationConfigs
= inboundWire.getInvocationChains();
             for (OutboundInvocationChain outboundInvocationConfig : outboundWire.getInvocationChains().values())
{
                 // match wire chains
                 InboundInvocationChain inboundInvocationConfig =
@@ -361,7 +361,7 @@
         throws InvalidServiceContractException {
         Map<Operation<?>, OutboundInvocationChain> invocations = new HashMap<Operation<?>,
OutboundInvocationChain>();
         ServiceContract<?> contract = REGISTRY.introspect(interfaze);
-        for (Operation operation : contract.getOperations().values()) {
+        for (Operation<?> operation : contract.getOperations().values()) {
             OutboundInvocationChain chain = new OutboundInvocationChainImpl(operation);
             if (headInterceptor != null) {
                 chain.addInterceptor(headInterceptor);
@@ -377,15 +377,15 @@
         return invocations;
     }
 
-    private static Map<Operation, InboundInvocationChain> createInboundChains(Class<?>
interfaze,
+    private static Map<Operation<?>, InboundInvocationChain> createInboundChains(Class<?>
interfaze,
                                                                               Interceptor
headInterceptor,
                                                                               MessageHandler
headRequestHandler,
                                                                               MessageHandler
headResponseHandler)
         throws InvalidServiceContractException {
 
-        Map<Operation, InboundInvocationChain> invocations = new HashMap<Operation,
InboundInvocationChain>();
+        Map<Operation<?>, InboundInvocationChain> invocations = new HashMap<Operation<?>,
InboundInvocationChain>();
         ServiceContract<?> contract = REGISTRY.introspect(interfaze);
-        for (Operation method : contract.getOperations().values()) {
+        for (Operation<?> method : contract.getOperations().values()) {
             InboundInvocationChain chain = new InboundInvocationChainImpl(method);
             if (headInterceptor != null) {
                 chain.addInterceptor(headInterceptor);

Modified: incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/mock/factories/MockFactory.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/mock/factories/MockFactory.java?view=diff&rev=440477&r1=440476&r2=440477
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/mock/factories/MockFactory.java
(original)
+++ incubator/tuscany/java/sca/kernel/core/src/test/java/org/apache/tuscany/core/mock/factories/MockFactory.java
Tue Sep  5 13:40:40 2006
@@ -166,13 +166,13 @@
         return wire;
     }
 
-    public static Map<Operation, InboundInvocationChain> createInboundChains(Class<?>
interfaze)
+    public static Map<Operation<?>, InboundInvocationChain> createInboundChains(Class<?>
interfaze)
         throws InvalidServiceContractException {
         JavaInterfaceProcessorRegistry registry = new JavaInterfaceProcessorRegistryImpl();
-        Map<Operation, InboundInvocationChain> invocations = new HashMap<Operation,
InboundInvocationChain>();
+        Map<Operation<?>, InboundInvocationChain> invocations = new HashMap<Operation<?>,
InboundInvocationChain>();
         ServiceContract<?> contract = registry.introspect(interfaze);
 
-        for (Operation operation : contract.getOperations().values()) {
+        for (Operation<?> operation : contract.getOperations().values()) {
             InboundInvocationChain chain = new InboundInvocationChainImpl(operation);
             // add tail interceptor
             chain.addInterceptor(new InvokerInterceptor());

Modified: incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/Operation.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/Operation.java?view=diff&rev=440477&r1=440476&r2=440477
==============================================================================
--- incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/Operation.java
(original)
+++ incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/Operation.java
Tue Sep  5 13:40:40 2006
@@ -37,7 +37,7 @@
     private final boolean nonBlocking;
     private ServiceContract<?> contract;
     private boolean callback;
-    private final String dataBinding;
+    private String dataBinding;
     protected Map<String, Object> metaData;
 
     /**
@@ -160,6 +160,16 @@
     public String getDataBinding() {
         return dataBinding;
     }
+    
+    /**
+     * Set the databinding for this operation
+     *  
+     * @param dataBinding The databinding
+     */
+    public void setDataBinding(String dataBinding) {
+        this.dataBinding = dataBinding;
+    }
+    
 
     /**
      * Returns a map of metadata key to value mappings for the operation.
@@ -216,4 +226,5 @@
         result = 29 * result + (faultTypes != null ? faultTypes.hashCode() : 0);
         return result;
     }
+
 }

Modified: incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/InboundWire.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/InboundWire.java?view=diff&rev=440477&r1=440476&r2=440477
==============================================================================
--- incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/InboundWire.java
(original)
+++ incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/InboundWire.java
Tue Sep  5 13:40:40 2006
@@ -46,17 +46,17 @@
      * Returns the invocation configuration for each operation on a service specified by
a reference or a target
      * service.
      */
-    Map<Operation, InboundInvocationChain> getInvocationChains();
+    Map<Operation<?>, InboundInvocationChain> getInvocationChains();
 
     /**
      * Adds the collection of invocation chains keyed by operation
      */
-    void addInvocationChains(Map<Operation, InboundInvocationChain> chains);
+    void addInvocationChains(Map<Operation<?>, InboundInvocationChain> chains);
 
     /**
      * Adds the invocation chain associated with the given operation
      */
-    void addInvocationChain(Operation operation, InboundInvocationChain chain);
+    void addInvocationChain(Operation<?> operation, InboundInvocationChain chain);
 
     /**
      * Returns the name of the callback associated with the service of the wire

Modified: incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java?view=diff&rev=440477&r1=440476&r2=440477
==============================================================================
--- incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java
(original)
+++ incubator/tuscany/java/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/wire/WireService.java
Tue Sep  5 13:40:40 2006
@@ -78,7 +78,7 @@
      * @param operation the operation to create the chain for
      * @return the outbound invocation chain for a given operation
      */
-    OutboundInvocationChain createOutboundChain(Operation operation);
+    OutboundInvocationChain createOutboundChain(Operation<?> operation);
 
     /**
      * Creates an inbound invocation chain for a given operation
@@ -86,7 +86,7 @@
      * @param operation the operation to create the chain for
      * @return the inbound invocation chain for a given operation
      */
-    InboundInvocationChain createInboundChain(Operation operation);
+    InboundInvocationChain createInboundChain(Operation<?> operation);
 
     /**
      * Creates a wire for flowing inbound invocations to a service

Modified: incubator/tuscany/java/sca/test/src/main/java/org/apache/tuscany/test/ArtifactFactory.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/test/src/main/java/org/apache/tuscany/test/ArtifactFactory.java?view=diff&rev=440477&r1=440476&r2=440477
==============================================================================
--- incubator/tuscany/java/sca/test/src/main/java/org/apache/tuscany/test/ArtifactFactory.java
(original)
+++ incubator/tuscany/java/sca/test/src/main/java/org/apache/tuscany/test/ArtifactFactory.java
Tue Sep  5 13:40:40 2006
@@ -128,12 +128,12 @@
         return invocations;
     }
 
-    private static Map<Operation, InboundInvocationChain> createInboundChains(Class<?>
interfaze)
+    private static Map<Operation<?>, InboundInvocationChain> createInboundChains(Class<?>
interfaze)
         throws InvalidServiceContractException {
-        Map<Operation, InboundInvocationChain> invocations = new HashMap<Operation,
InboundInvocationChain>();
+        Map<Operation<?>, InboundInvocationChain> invocations = new HashMap<Operation<?>,
InboundInvocationChain>();
         JavaInterfaceProcessorRegistry registry = new JavaInterfaceProcessorRegistryImpl();
         ServiceContract<?> contract = registry.introspect(interfaze);
-        for (Operation operation : contract.getOperations().values()) {
+        for (Operation<?> operation : contract.getOperations().values()) {
             InboundInvocationChain chain = new InboundInvocationChainImpl(operation);
             // add tail interceptor
             //chain.addInterceptor(new InvokerInterceptor());



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message