Examples of InvocationResult


Examples of com.opengamma.engine.calcnode.InvocationResult

      }
    } else {
      missingInputs = null;
    }
    final String invocationResultName = msg.getString(INVOCATION_RESULT_FIELD_NAME);
    final InvocationResult invocationResult = invocationResultName != null ? InvocationResult.valueOf(invocationResultName) : null;
    return new ComputedValueResult(valueSpec, valueObject, aggregatedExecutionLog, computeNodeId, missingInputs, invocationResult);
  }
View Full Code Here

Examples of it.javalinux.wise.core.client.InvocationResult

    @Override
    public InvocationResult invoke(Object args, WiseMapper mapper) throws WiseException
    {
        Map<String, Object> emptyHolder = Collections.emptyMap();
        return new InvocationResult(null, null, emptyHolder);
    }
View Full Code Here

Examples of it.javalinux.wise.core.client.InvocationResult

            addCustomHandlers(endpoint);
            addLoggingHandler(endpoint);
           
            WSMethod wsMethod = getWSMethodFromEndpoint(operationName, endpoint);
   
            InvocationResult result;
            try
            {
                result = wsMethod.invoke(payload, smooksRequestMapper);
            }
            catch (final WiseException e)
View Full Code Here

Examples of mockit.internal.expectations.invocation.InvocationResult

      this.constraints = constraints;
   }

   public void addReturnValue(Object value)
   {
      InvocationResult result =
         value instanceof Delegate ? new DelegatedResult((Delegate) value) : new ReturnValueResult(value);

      addResult(result);
   }
View Full Code Here

Examples of org.apache.cocoon.sitemap.node.InvocationResult

    @Around("execution(* org.apache.cocoon.sitemap.node.SerializeNode.invoke(..)) && args(invocation)")
    public Object interceptInvoke(ProceedingJoinPoint proceedingJoinPoint, Invocation invocation) throws Throwable {
        SerializeNode target = (SerializeNode) proceedingJoinPoint.getTarget();
        String statusCode = invocation.resolveParameter(target.getParameters().get("status-code"));

        InvocationResult invocationResult = (InvocationResult) proceedingJoinPoint.proceed();
        if (invocationResult.isContinued() && statusCode != null) {
            try {
                setStatusCode(Integer.valueOf(statusCode));
            } catch (NumberFormatException nfe) {
                throw new InvalidStatusCodeException("The status-code '" + statusCode + " is not valid number.", nfe);
            }
View Full Code Here

Examples of org.apache.geronimo.core.service.InvocationResult

    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        Invocation invocation = new ProxyInvocation();
        ProxyInvocation.putMethod(invocation, method);
        ProxyInvocation.putArguments(invocation, args);
        ProxyInvocation.putProxy(invocation, proxy);
        InvocationResult result = this.invoke(invocation);
        if( result.isException() )
            throw result.getException();
        return result.getResult();
    }
View Full Code Here

Examples of org.apache.geronimo.core.service.InvocationResult

                e.printStackTrace();
                return RequestChannelInterceptor.serialize(new ThrowableWrapper(e));               
            }

            try {
                InvocationResult rc = next.invoke(marshalledInvocation);
                return RequestChannelInterceptor.serialize(rc);               
            } catch (Throwable e) {
                return RequestChannelInterceptor.serialize(new ThrowableWrapper(e));               
            }
View Full Code Here

Examples of org.apache.geronimo.core.service.InvocationResult

    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        Invocation invocation = new ProxyInvocation();
        ProxyInvocation.putMethod(invocation, method);
        ProxyInvocation.putArguments(invocation, args);
        ProxyInvocation.putProxy(invocation, proxy);
        InvocationResult result = this.invoke(invocation);
        if( result.isException() )
            throw result.getException();
        return result.getResult();
    }
View Full Code Here

Examples of org.apache.geronimo.core.service.InvocationResult

                e.printStackTrace();
                return RequestChannelInterceptor.serialize(new ThrowableWrapper(e));               
            }

            try {
                InvocationResult rc = next.invoke(marshalledInvocation);
                return RequestChannelInterceptor.serialize(rc);               
            } catch (Throwable e) {
                return RequestChannelInterceptor.serialize(new ThrowableWrapper(e));               
            }
View Full Code Here

Examples of org.apache.geronimo.interceptor.InvocationResult

    }


    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        Invocation invocation = new SerializableInvocation(method, args, proxy);
        InvocationResult result = invoke(invocation);
        if( result.isException() ) {
            throw result.getException();
        }
        return result.getResult();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.