Examples of JdkRandomUUIDFactory


Examples of de.scoopgmbh.copper.common.JdkRandomUUIDFactory

    PersistentScottyEngine engine = new PersistentScottyEngine();
    engine.setDbStorage(dbStorage);
    engine.setWfRepository(wfRepository);
    engine.setEngineIdProvider(engineIdProvider);
    engine.setIdFactory(new JdkRandomUUIDFactory());
    engine.setProcessorPoolManager(processorPoolManager);
    engine.setDependencyInjector(dependencyInjector);

    return engine;
  }
View Full Code Here

Examples of de.scoopgmbh.copper.common.JdkRandomUUIDFactory

 
   
    PersistentPriorityProcessorPool persistentPriorityProcessorPool = new PersistentPriorityProcessorPool(PersistentProcessorPool.DEFAULT_POOL_ID,txnController);
   
    PersistentScottyEngine persistentengine = new PersistentScottyEngine();
    persistentengine.setIdFactory(new JdkRandomUUIDFactory());
    persistentengine.setDbStorage(persistentdbStorage);
    persistentengine.setWfRepository(wfRepository);
    persistentengine.setEngineIdProvider(ENGINE_ID_PROVIDER);
    persistentengine.setStatisticsCollector(runtimeStatisticsCollector);
   
View Full Code Here

Examples of de.scoopgmbh.copper.common.JdkRandomUUIDFactory

    repo.addSourceDir("src/workflow/java");
    repo.setTargetDir("build/compiled_workflow");
    repo.start();
    WorkflowFactory<String> wfFactory = repo.createWorkflowFactory("de.scoopgmbh.copper.test.PersistentSpock2GTestWF");
    Workflow<String> wf = wfFactory.newInstance();
    JdkRandomUUIDFactory idFactory = new JdkRandomUUIDFactory();
    wf.setId(idFactory.createId());
    wf.setPriority(5);
    wf.setData(data);
    wf.setProcessorPoolId("P#DEFAULT");
   
    Serializer serializer = new StandardJavaSerializer();
View Full Code Here

Examples of de.scoopgmbh.copper.common.JdkRandomUUIDFactory

  /**
   * @param args
   * @throws Exception
   */
  public static void main(String[] args) throws Exception {
    final IdFactory idFactory = new JdkRandomUUIDFactory();
    final ComboPooledDataSource dataSource = new ComboPooledDataSource();
    dataSource.setDriverClass("oracle.jdbc.OracleDriver");
    dataSource.setJdbcUrl("jdbc:oracle:thin:COPPER2/COPPER2@localhost:1521:orcl11g");
    dataSource.setMinPoolSize(1);
    dataSource.setMaxPoolSize(1);
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.