Search in sources :

Example 11 with ProcessEnginePluginXml

use of org.camunda.bpm.container.impl.metadata.spi.ProcessEnginePluginXml in project camunda-bpm-platform by camunda.

the class PlatformJobExecutorActivateTest method defineProcessEngine.

private ProcessEngineXmlImpl defineProcessEngine() {
    ProcessEngineXmlImpl processEngineXml = new ProcessEngineXmlImpl();
    HashMap<String, String> properties = new HashMap<String, String>();
    properties.put("jdbcUrl", "jdbc:h2:mem:PlatformJobExecutorActivateTest-db");
    processEngineXml.setProperties(properties);
    processEngineXml.setPlugins(new ArrayList<ProcessEnginePluginXml>());
    processEngineXml.setName(ENGINE_NAME);
    processEngineXml.setJobAcquisitionName(ACQUISITION_NAME);
    processEngineXml.setConfigurationClass(StandaloneInMemProcessEngineConfiguration.class.getName());
    processEngineXml.setDefault(true);
    return processEngineXml;
}
Also used : ProcessEngineXmlImpl(org.camunda.bpm.container.impl.metadata.ProcessEngineXmlImpl) ProcessEnginePluginXml(org.camunda.bpm.container.impl.metadata.spi.ProcessEnginePluginXml) HashMap(java.util.HashMap) StandaloneInMemProcessEngineConfiguration(org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration)

Aggregations

ProcessEnginePluginXml (org.camunda.bpm.container.impl.metadata.spi.ProcessEnginePluginXml)11 BpmPlatformXml (org.camunda.bpm.container.impl.metadata.spi.BpmPlatformXml)4 ProcessEngineXml (org.camunda.bpm.container.impl.metadata.spi.ProcessEngineXml)4 ArrayList (java.util.ArrayList)2 HashMap (java.util.HashMap)2 ProcessEngineException (org.camunda.bpm.engine.ProcessEngineException)2 ProcessEnginePlugin (org.camunda.bpm.engine.impl.cfg.ProcessEnginePlugin)2 XMLStreamException (javax.xml.stream.XMLStreamException)1 ManagedProcessEngineMetadata (org.camunda.bpm.container.impl.jboss.config.ManagedProcessEngineMetadata)1 MscManagedProcessEngineController (org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController)1 ProcessEngineXmlImpl (org.camunda.bpm.container.impl.metadata.ProcessEngineXmlImpl)1 JobAcquisitionXml (org.camunda.bpm.container.impl.metadata.spi.JobAcquisitionXml)1 JobExecutorXml (org.camunda.bpm.container.impl.metadata.spi.JobExecutorXml)1 StandaloneInMemProcessEngineConfiguration (org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration)1 Element (org.camunda.bpm.engine.impl.util.xml.Element)1 AbstractSubsystemTest (org.jboss.as.subsystem.test.AbstractSubsystemTest)1 KernelServices (org.jboss.as.subsystem.test.KernelServices)1 ModelNode (org.jboss.dmr.ModelNode)1 ServiceContainer (org.jboss.msc.service.ServiceContainer)1 Test (org.junit.Test)1