Examples of invoke()


Examples of com.volantis.mcs.expression.functions.device.GetPolicyValueFunction.invoke()

            GetPolicyValueFunction function =
                    (GetPolicyValueFunction)createTestableFunction(
                            ExpressionFactory.getDefaultInstance());

            // invoke the function
            function.invoke(expressionContext, new Value[0]);

            // invoking function with no arguments shold resutl in exception
            // being thrown
            fail("Invoking getPolicyValue() function with no arguments " +
                 "should result in an exception being thrown");
View Full Code Here

Examples of com.volantis.xml.expression.Function.invoke()

        DurationValue duration;
        Value result;

        duration =
                factory.createDurationValue(true, 20, 15, 0, 0, 0, 0, 0);
        result = function.invoke(
                expressionContextMock,
                new Value[] { duration });
        assertEquals(result, factory.createIntValue(21));

        duration =
View Full Code Here

Examples of com.webobjects.foundation.NSSelector.invoke()

                    for(Enumeration e = additionalValidationKeys.objectEnumerator(); e.hasMoreElements();) {
                        String key = (String)e.nextElement();
                        NSSelector selector = new NSSelector(key);
                        if(selector.implementedByObject(obj)) {
                            try {
                                selector.invoke(obj);
                            } catch (Exception ex) {
                                if(ex instanceof NSValidation.ValidationException)
                                    throw (NSValidation.ValidationException)ex;
                                log.error(ex);
                            }
View Full Code Here

Examples of cookxml.core.interfaces.Handler.invoke()

        if (handler != null)
          decodeEngine.setHandler (parentNS, parentTag, 'f', funcName, childClass, handler);
      }
      if (handler != null)
      {
        handler.invoke (parentNS, parent, child, decodeEngine);
        return true;
      }
    }
    catch (Exception ex)
    {
View Full Code Here

Examples of de.danet.an.workflow.internalapi.ExtImplementationLocal.invoke()

     * Invoke the current tool.
     */
    private void invokeCurrentImpl () {
  ExtImplementationLocal impl = (ExtImplementationLocal)
      getPaActImpl()[Math.abs(getPaExecStat().intValue()) - 1];
  impl.invoke (toActivityLocal());
  if (impl instanceof ProcBasedImpl) {
      String key = ((ProcBasedImpl)impl).processKey ();
      setPaSubflow (key);
  }
    }
View Full Code Here

Examples of de.danet.an.workflow.spis.aii.ToolAgent.invoke()

      logger.debug ("Invoking " + this.toString()
                    + " with " + formalParameters
                    + " and " + params);
  }
  try {
      agent.invoke(activity, formalParameters, params);
  } catch (CannotExecuteException e) {
      if (logger.isDebugEnabled()) {
          logger.debug ("Invocation resulted in: " + e.toString());
      }
      // try to find mapping
View Full Code Here

Examples of de.lessvoid.xml.tools.MethodInvoker.invoke()

    return xmlType;
  }

  private void invoke(final XmlType child, final XmlType parent, final String qualifier) {
    MethodInvoker methodInvoker = new MethodInvoker(qualifier + xmlTypeParentName + "()", parent);
    methodInvoker.invoke(child);
  }

  public void parentLinkSet(final XmlType xmlTypeParent, final String elementName) {
    xmlTypeParentSingle = xmlTypeParent;
    xmlTypeParentMultiple = null;
View Full Code Here

Examples of drafts.com.sun.star.script.framework.provider.XFunction.invoke()

            if (func == null) {
                log.println("Couldn't get XFunction for:" + logicalname);
                return false;
            }

            Object ret = func.invoke( aParams, aOutParamIndex, aOutParam );

            if (ret != null) {
                gotreturntype = ret.getClass().getName();
                gotreturnvalue = ret.toString();
            }
View Full Code Here

Examples of ds.pjftp.command.Command.invoke()

            final String reqCmd = request.getCommand();
            final String reqArg = request.getArgument();

            final Command command = Commands.get(reqCmd);
            if (command != null) {
                command.invoke(session, reqArg);
            } else {
                session.replyWithSpace(500, "Command  {} isn't supported", reqCmd);
            }
            session.setLastRequest(request);
        }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.component.dynamic.DynamicInvoker.invoke()

    }

    DynamicInvoker dynamicInvoker = new DynamicInvoker(className, implJarLocation, operationName, inputs.toArray());
    this.invokerMap.put(node, dynamicInvoker);
    dynamicInvoker.setup();
    dynamicInvoker.invoke();
    node.getGUI().setBodyColor(NodeState.FINISHED.color);
  }

  private void handleForEach(Node node) throws XBayaException {
    final ForEachNode forEachNode = (ForEachNode) node;
View Full Code Here
TOP
Copyright © 2015 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.