Examples of execute()


Examples of org.apache.ctakes.jdl.AppJdl.execute()

    AppJdl appJdl;
    Connection connection = jdlConnection.getOpenConnection();
    SqlJdl.create(connection);
    // csv
    appJdl = new AppJdl(CX, D2C, L2C);
    appJdl.execute();
    SqlJdl.select(connection, true);
    SqlJdl.delete(connection);
    // xml
    appJdl = new AppJdl(CX, D2X, L2X);
    appJdl.execute();
View Full Code Here

Examples of org.apache.cxf.message.ExchangeImpl.execute()

                    Executor ex = message.getExchange() != null
                        ? message.getExchange().get(Executor.class) : null;
                    if (ex == null || SynchronousExecutor.isA(ex)) {
                        ex = transportFactory.getExecutor();
                        if (ex != null) {
                            ex.execute(receiver);
                        } else {
                            new Thread(receiver).start();
                        }
                    } else {
                        ex.execute(receiver);
View Full Code Here

Examples of org.apache.cxf.tools.wsdlto.frontend.jaxws.JAXWSContainer.execute()

        env.put(ToolConstants.CFG_PACKAGENAME, "org.apache.cxf.classpath");
        env.put(ToolConstants.CFG_CLASSDIR, output.getCanonicalPath() + "/classes");
        env.put(ToolConstants.CFG_WSDLURL, getLocation("/wsdl/hello_world_doc_lit.wsdl"));
        JAXWSContainer w2jProcessor = new JAXWSContainer(null);
        w2jProcessor.setContext(env);
        w2jProcessor.execute();


        String tns = "http://apache.org/sepecifiedTns";
        String serviceName = "cxfService";
        String portName = "cxfPort";
View Full Code Here

Examples of org.apache.cxf.workqueue.AutomaticWorkQueue.execute()

                        long timeout = 1000;
                        if (policy != null && policy.isSetAsyncExecuteTimeout()) {
                            timeout = policy.getAsyncExecuteTimeout();
                        }
                        if (timeout > 0) {
                            qu.execute(runnable, timeout);
                        } else {
                            qu.execute(runnable);
                        }
                    } else {
                        outMessage.getExchange().put(Executor.class.getName()
View Full Code Here

Examples of org.apache.cxf.workqueue.WorkQueue.execute()

                    WorkQueueManager queuem = bus.getExtension(WorkQueueManager.class);
                    WorkQueue queue = queuem.getNamedWorkQueue("udp-conduit");
                    if (queue == null) {
                        queue = queuem.getAutomaticWorkQueue();
                    }
                    queue.execute(new Runnable() {
                        public void run() {
                            incomingObserver.onMessage(inMessage);
                        }
                    });
                } else {
View Full Code Here

Examples of org.apache.deltaspike.core.api.config.view.metadata.SimpleCallbackDescriptor.execute()

        SimpleCallbackDescriptor initViewCallbackDescriptor = viewDefinitionEntry.getExecutableCallbackDescriptor(
                ViewControllerRef.class, callbackType, SimpleCallbackDescriptor.class);

        if (initViewCallbackDescriptor != null)
        {
            initViewCallbackDescriptor.execute();
        }
    }
}
View Full Code Here

Examples of org.apache.deltaspike.data.impl.builder.QueryBuilder.execute()

            List<Class<?>> candidates = extractFromProxy(proxy.getClass());
            RepositoryComponent repo = components.lookupComponent(candidates);
            RepositoryMethod repoMethod = components.lookupMethod(repo.getRepositoryClass(), method);
            queryContext = createContext(proxy, method, args, repo, repoMethod);
            QueryBuilder builder = queryBuilder.build(repoMethod);
            Object result = builder.execute(queryContext);
            return result;
        }
        catch (Exception e)
        {
            log.log(Level.SEVERE, "Query execution error", e);
View Full Code Here

Examples of org.apache.derby.iapi.sql.PreparedStatement.execute()

        //reset the activation to clear warnings
        //and clear existing result sets in case this has been cached
        a.reset();
        a.setMaxRows(maxRows);
                ResultSet resultsToWrap = ps.execute(a,
                                                     false,
                                                     timeoutMillis);
        addWarning(a.getWarnings());

View Full Code Here

Examples of org.apache.derbyTesting.junit.BaseTestSuite.execute()

        s.execute("insert into four values (3, 1, 1, 1, 1)");
        s.execute("insert into four values (3, 1, 2, 1, 1)");
        s.execute("insert into four values (3, 1, 3, 1, 1)");
       
        s.execute("insert into idept values ('Dept', 1, 'Department1', null, null, null, null)");
        s.execute("insert into idept values ('HardwareDept', 2, 'Department2', 25, 1, 'hardwareaset2', null)");
        s.execute("insert into idept values ('HardwareDept', 3, 'Department3', 25, 2, 'hardwareaset3', null)");
        s.execute("insert into idept values ('SoftwareDept', 4, 'Department4', 25, 1, null, 'softwareasset4')");
        s.execute("insert into idept values ('SoftwareDept', 5, 'Department5', 30, 4, null, 'softwareasset5')");
      }
    };
View Full Code Here

Examples of org.apache.directory.daemon.installers.archive.ArchiveInstallerCommand.execute()

            if ( target instanceof ArchiveTarget )
            {
                ArchiveInstallerCommand archiveCmd = null;
                archiveCmd = new ArchiveInstallerCommand( this, ( ArchiveTarget ) target );
                archiveCmd.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.