Class DelegateProviderImpl

java.lang.Object
dev.dsf.bpe.camunda.DelegateProviderImpl
All Implemented Interfaces:
DelegateProvider, ProcessPluginConsumer, org.springframework.beans.factory.InitializingBean

public class DelegateProviderImpl extends Object implements DelegateProvider, ProcessPluginConsumer, org.springframework.beans.factory.InitializingBean
  • Constructor Details

    • DelegateProviderImpl

      public DelegateProviderImpl(ClassLoader mainClassLoader, org.springframework.context.ApplicationContext mainApplicationContext)
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • setProcessPlugins

      public void setProcessPlugins(List<ProcessPlugin<?,?>> plugins)
      Specified by:
      setProcessPlugins in interface ProcessPluginConsumer
    • getClassLoader

      public ClassLoader getClassLoader(ProcessIdAndVersion processIdAndVersion)
      Specified by:
      getClassLoader in interface DelegateProvider
      Parameters:
      processIdAndVersion - not null
      Returns:
      returns the default class loader if no special class loader is registered for the given processIdAndVersion
    • getApplicationContext

      public org.springframework.context.ApplicationContext getApplicationContext(ProcessIdAndVersion processIdAndVersion)
      Specified by:
      getApplicationContext in interface DelegateProvider
      Parameters:
      processIdAndVersion - not null
      Returns:
      returns the default application context if no special application context is registered for the given processIdAndVersion
    • getDefaultUserTaskListenerClass

      public Class<? extends org.camunda.bpm.engine.delegate.TaskListener> getDefaultUserTaskListenerClass(String processPluginApiVersion)
      Specified by:
      getDefaultUserTaskListenerClass in interface DelegateProvider
      Parameters:
      processPluginApiVersion - not null
      Returns:
      the default user task listener class for the given process plugin api version