Examples of execute()


Examples of org.apache.xmlrpc.client.XmlRpcClient.execute()

            password, community_code,
            language_code, email,
            adminid};
       
       
        Object result = client.execute("OpenSIPg.UserCreate", params);
       
        if (result != null) {
          log.debug(result.getClass().getName());
         
          if (result instanceof Map) {
View Full Code Here

Examples of org.apache.xmlrpc.common.XmlRpcRequestProcessor.execute()

      }
    }
    final XmlRpcRequestProcessor server = ((XmlRpcLocalClientConfig) config).getXmlRpcServer();
        Object result;
    try {
      result = server.execute(pRequest);
        } catch (XmlRpcException t) {
            throw t;
    } catch (Throwable t) {
        throw new XmlRpcClientException("Failed to invoke method " + pRequest.getMethodName()
                + ": " + t.getMessage(), t);
View Full Code Here

Examples of org.apache.xmlrpc.common.XmlRpcWorker.execute()

   */
  public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
      final XmlRpcWorkerFactory factory = getWorkerFactory();
      final XmlRpcWorker worker = factory.getWorker();
        try {
            return worker.execute(pRequest);
        } finally {
            factory.releaseWorker(worker);
        }
  }
}
View Full Code Here

Examples of org.apache.xmlrpc.server.XmlRpcServer.execute()

    ByteArrayOutputStream ostream, istream;
  }
  private class LocalServer extends XmlRpcStreamServer {
    public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
      XmlRpcServer server = ((XmlRpcLocalClientConfig) pRequest.getConfig()).getXmlRpcServer();
      return server.execute(pRequest);
    }
    protected InputStream newInputStream(XmlRpcStreamRequestConfig pConfig, Object pConnection) throws IOException {
      LocalStreamConnection lsc = (LocalStreamConnection) pConnection;
      return new ByteArrayInputStream(lsc.ostream.toByteArray());
    }
View Full Code Here

Examples of org.apache.xpath.Expression.execute()

    for (int i = 0; i < nArgs; i++)
    {
      Expression arg = (Expression) m_argVec.elementAt(i);
     
      XObject xobj = arg.execute(xctxt);

      argVec.addElement(xobj);
    }
    //dml
    ExtensionsProvider extProvider = (ExtensionsProvider)xctxt.getOwnerObject();
View Full Code Here

Examples of org.apache.xpath.XPath.execute()

    if(null != fileNameExpr)
    {
      org.apache.xpath.XPathContext xctxt
        = context.getTransformer().getXPathContext();
      XPath myxpath = new XPath(fileNameExpr, elem, xctxt.getNamespaceContext(), XPath.SELECT);
      XObject xobj = myxpath.execute(xctxt, context.getContextNode(), elem);
      fileName = xobj.str();
      if((null == fileName) || (fileName.length() == 0))
      {
        fileName = elem.getAttribute ("file",
                                      context.getContextNode(),
View Full Code Here

Examples of org.apache.xpath.functions.Function.execute()

          catch (final WrongNumberArgsException e)
          {
            throw new RuntimeException(e);
          }
        }
        return func.execute(contexts[0]);
      }
      public Object extFunction(String _ns, String _funcName, Vector _argVec,
          Object _methodKey) throws TransformerException
      {
        return null;
View Full Code Here

Examples of org.apache.xpath.objects.XObject.execute()

                     xctxt.getSAXLocator());
      // "Variable accessed before it is bound!", xctxt.getSAXLocator());

    // Lazy execution of variables.
    if (val.getType() == XObject.CLASS_UNRESOLVEDVARIABLE)
      return (_stackFrames[index] = val.execute(xctxt));

    return val;
  }

  /**
 
View Full Code Here

Examples of org.appfuse.mojo.HibernateExporterMojo.execute()

    public void testGenerateSpring() throws Exception {
        deleteDirectory("target/appfuse/generated");
        HibernateExporterMojo mojo = getHibernateMojo("gen", "annotationconfiguration");
        mojo.getProject().getProperties().setProperty("web.framework", "spring");
        mojo.execute();

        assertTrue("can't find PersonFormControllerTest.java",
                checkExists("target/appfuse/generated/src/test/java/annotationconfiguration/webapp/controller/PersonFormControllerTest.java"));

        assertTrue("can't find /PersonFormController.java",
View Full Code Here

Examples of org.appfuse.tool.ArtifactInstaller.execute()

        if (pojoName == null) {
            throw new MojoExecutionException("You must specify an entity name to continue.");
        }

        ArtifactInstaller installer = new ArtifactInstaller(project, pojoName, sourceDirectory, destinationDirectory, genericCore);
        installer.execute();
    }
}
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.