Package org.jbpm.pvm.internal.cfg

Examples of org.jbpm.pvm.internal.cfg.ConfigurationImpl


    public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
        this.applicationContext = applicationContext;
    }

    public ProcessEngine createProcessEngine() {
        return new ConfigurationImpl()
            .springInitiated(applicationContext)
            .setResource(jbpmCfg)
            .buildProcessEngine();
    }
View Full Code Here


      return;
    }
   
    database = args[0];
   
    ProcessEngine processEngine = new ConfigurationImpl()
        .skipDbCheck()
        .buildProcessEngine();
   
    try {
      processEngine.execute(new Command<Object>(){
View Full Code Here

      return;
    }
   
    database = args[0];
   
    ProcessEngine processEngine = new ConfigurationImpl()
      .skipDbCheck()
      .buildProcessEngine();
 
    try {
      JbpmVersion jbpmVersion = (JbpmVersion) processEngine.execute(new Command<Object>(){
View Full Code Here

  public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
    this.applicationContext = applicationContext;
  }
 
  protected ProcessEngine createProcessEngine() {
    return new ConfigurationImpl()
      .springInitiated(applicationContext)
      .setResource(jbpmCfg)
      .buildProcessEngine();
  }
View Full Code Here

    return userCommandService.execute(command);
  }

  // left in for legacy test code
  public static EnvironmentFactory parseXmlString(String jbpmConfigurationXml) {
    return (EnvironmentFactory) new ConfigurationImpl()
        .setXmlString(jbpmConfigurationXml)
        .skipDbCheck()
        .buildProcessEngine();
  }
View Full Code Here

  }

  public Object parse(Element element, Parse parse, Parser parser) {
    EnvironmentInterceptorDescriptor environmentInterceptorDescriptor = new EnvironmentInterceptorDescriptor();

    ConfigurationImpl configuration = (ConfigurationImpl) parse.contextStackFind(ConfigurationImpl.class);
    environmentInterceptorDescriptor.setConfiguration(configuration);
   
    if ( element.hasAttribute("policy")
         && ("requiresNew".equals(element.getAttribute("policy")))
       ) {
View Full Code Here

  public ProcessEngineRefBinding() {
    super("process-engine-ref");
  }

  public Object parse(Element element, Parse parse, Parser parser) {
    ConfigurationImpl configuration = (ConfigurationImpl) parse.contextStackFind(ConfigurationImpl.class);
    return new ProcessEngineDescriptor(configuration);
  }
View Full Code Here

TOP

Related Classes of org.jbpm.pvm.internal.cfg.ConfigurationImpl

Copyright © 2018 www.massapicom. 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.