org.camunda.bpm.engine.rest.spi
Interface ProcessEngineProvider

All Known Implementing Classes:
ContainerManagedProcessEngineProvider

public interface ProcessEngineProvider

A simple provider SPI used to locate a process engine object.

Author:
Daniel Meyer

Method Summary
 ProcessEngine getDefaultProcessEngine()
          Provides the default engine.
 ProcessEngine getProcessEngine(String name)
          Provides the engine with the given name.
 Set<String> getProcessEngineNames()
          Returns the name of all known process engines.
 

Method Detail

getDefaultProcessEngine

ProcessEngine getDefaultProcessEngine()
Provides the default engine. Has to return null if no default engine exists.


getProcessEngine

ProcessEngine getProcessEngine(String name)
Provides the engine with the given name. Has to return null if no such engine exists.


getProcessEngineNames

Set<String> getProcessEngineNames()
Returns the name of all known process engines. Returns an empty set if no engines are accessible.



Copyright © 2016 camunda services GmbH. All rights reserved.