Examples of invoke()


Examples of org.omg.CORBA.portable.Delegate.invoke()

                    // marshal arguments
                    dmm.writeArguments( out, args ) ;

                    // finish invocation
                    in = (org.omg.CORBA_2_3.portable.InputStream)
                        delegate.invoke( stub, out);

                    // unmarshal result
                    return dmm.readResult( in ) ;
                } catch (ApplicationException ex) {
                    throw dmm.readException( ex ) ;
View Full Code Here

Examples of org.omnifaces.el.ScopedRunner.invoke()

      if (!isEmpty(var)) {
        scopedRunner.with(var, item);
      }

      // During each iteration, just resolve all attributes again.
      scopedRunner.invoke(new Callback.Void() { @Override public void invoke() {

        Object itemValue = getItemValue(attributes, item);
        Object noSelectionValue = attributes.get("noSelectionValue");
        boolean itemValueIsNoSelectionValue = noSelectionValue != null && noSelectionValue.equals(itemValue);
View Full Code Here

Examples of org.onebusaway.collections.PropertyPathExpression.invoke()

    for (int i = 0; i < _argumentIndices.length; i++) {
      Object value = args[_argumentIndices[i]];
      PropertyPathExpression expression = _expressions[i];
      if (expression != null)
        value = expression.invoke(value);
      CoordinatePoint point = (CoordinatePoint) value;
      points.add(point);
    }

    FederatedService service = collection.getServiceForLocations(points);
View Full Code Here

Examples of org.onebusaway.federations.annotations.FederatedServiceMethodInvocationHandler.invoke()

    if (method.getDeclaringClass() == Object.class)
      return method.invoke(this, args);

    try {
      return methodHandler.invoke(_collection, method, args);
    } catch (Throwable ex) {
      if (ex instanceof InvocationTargetException) {
        InvocationTargetException ite = (InvocationTargetException) ex;
        ex = ite.getTargetException();
      }
View Full Code Here

Examples of org.onemind.commons.invoke.InvocableFunction.invoke()

                {
                    StaticImport sImport = (StaticImport) it.next();
                    InvocableFunction func = sImport.getFunction(functionName, args);
                    if (func != null)
                    {
                        return func.invoke(null, args);
                    }
                }
                //lastly, throw exception
                throw new NoSuchMethodException("Method " + methodName + " not found for the Processor");
            }
View Full Code Here

Examples of org.ops4j.pax.exam.spi.StagedExamReactor.invoke()

        StagedExamReactor stagedReactor = reactor.stage(strategy);
        stagedReactor.beforeClass();
        try {
            for (TestAddress call : stagedReactor.getTargets()) {
                stagedReactor.invoke(call);
            }

        }
        finally {
            stagedReactor.afterClass();
View Full Code Here

Examples of org.osgi.service.upnp.UPnPAction.invoke()

        m_control.checkOrder(false);

        final UPnPAction action1 = m_control.createMock(UPnPAction.class);
        EasyMock.expect(action1.getOutputArgumentNames()).andReturn(new String[]{returnLocation}).anyTimes();
        EasyMock.expect(action1.invoke(null)).andReturn(p).anyTimes();

        final UPnPAction action2 = m_control.createMock(UPnPAction.class);
        EasyMock.expect(action2.getOutputArgumentNames()).andReturn(new String[]{returnType}).anyTimes();
        EasyMock.expect(action2.invoke(null)).andReturn(p).anyTimes();
View Full Code Here

Examples of org.osgi.service.zigbee.ZigBeeCommand.invoke()

  private void lock(ZigBeeEndpoint lock) {
    ZigBeeCluster zigbeeCluster = lock.getServerCluster(0x101);
    ZigBeeCommand lockCommand = zigbeeCluster.getCommand(0);

    try {
      lockCommand.invoke(new byte[] {}, this);
      System.out.println("locked");
    } catch (ZigBeeException e) {
    }
  }
 
View Full Code Here

Examples of org.picketlink.identity.federation.bindings.tomcat.idp.IDPWebBrowserSSOValve.invoke()

        MockCatalinaResponse response = new MockCatalinaResponse();

        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        response.setWriter(new PrintWriter(baos));

        idp.invoke(request, response);

        return response;
    }

    private MockCatalinaResponse sendSPRequest(MockCatalinaRequest request, boolean validateAuthentication, String idpAddress)
View Full Code Here

Examples of org.pirkaengine.core.script.Invoker.invoke()

        if (function == null) throw new EvalException("function is not found: " + funcName);
        if (function.language == null) throw new EvalException("function.language is null: " + funcName);
        try {
            Invoker invoker = InvokerFactory.getInstance().getInvoker(function);
            Object[] params = createParams(script, model, functions);
            return invoker.invoke(function, params);
        } catch (SecurityException e) {
            throw new EvalException("function:" + function, e);
        } catch (IllegalArgumentException e) {
            throw new EvalException("function:" + function, e);
        } catch (NoSuchMethodException e) {
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.