Examples of QuartzSchedulerImpl


Examples of org.apache.ode.bpel.scheduler.quartz.QuartzSchedulerImpl

    protected ProcessStoreImpl createProcessStore(DataSource ds) {
        return new ProcessStoreImpl(ds, _odeConfig.getDAOConnectionFactory(),false);
    }

    protected Scheduler createScheduler() {
        QuartzSchedulerImpl scheduler = new QuartzSchedulerImpl();
        scheduler.setExecutorService(_executorService, 20);
        scheduler.setTransactionManager(_txMgr);
        scheduler.setDataSource(_db.getDataSource());
        scheduler.init();
        return scheduler;
    }
View Full Code Here

Examples of org.apache.ode.bpel.scheduler.quartz.QuartzSchedulerImpl

        _ode._mexContext = new MessageExchangeContextImpl(_ode);
        if (_ode._config.getThreadPoolMaxSize() == 0)
            _ode._executorService = Executors.newCachedThreadPool();
        else
            _ode._executorService = Executors.newFixedThreadPool(_ode._config.getThreadPoolMaxSize());
        _ode._scheduler = new QuartzSchedulerImpl();
        _ode._scheduler.setJobProcessor(_ode._server);
        _ode._scheduler.setExecutorService(_ode._executorService, 20);
        _ode._scheduler.setTransactionManager((TransactionManager) _ode.getContext().getTransactionManager());
        _ode._scheduler.setDataSource(_ode._dataSource);
        _ode._scheduler.init();
View Full Code Here

Examples of org.apache.ode.bpel.scheduler.quartz.QuartzSchedulerImpl

        }
        _bpelServer.init();
    }

    protected Scheduler createScheduler() {
        QuartzSchedulerImpl scheduler = new QuartzSchedulerImpl();
        scheduler.setExecutorService(_executor, 20);
        scheduler.setTransactionManager(_txMgr);
        scheduler.setDataSource(_db.getDataSource());
        scheduler.init();
        return scheduler;
    }   
View Full Code Here

Examples of org.exist.scheduler.impl.QuartzSchedulerImpl

        if(pageSize < 0) {
            pageSize = DEFAULT_PAGE_SIZE;
        }

        //TODO : move this to initialize ? (cant as we need it for FileLockHeartBeat)
        scheduler = new QuartzSchedulerImpl(this, conf);

        //TODO : since we need one :-( (see above)
        this.isReadOnly = !canReadDataDir(conf);
        LOG.debug("isReadOnly: " + isReadOnly);
        //Configuration is valid, save it
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.