Class ProcessApplicationStartService

java.lang.Object
org.camunda.bpm.container.impl.jboss.service.ProcessApplicationStartService
All Implemented Interfaces:
org.jboss.msc.Service, org.jboss.msc.service.Service<ProcessApplicationStartService>, org.jboss.msc.value.Value<ProcessApplicationStartService>

public class ProcessApplicationStartService extends Object implements org.jboss.msc.service.Service<ProcessApplicationStartService>

This service is responsible for starting the MscManagedProcessApplication service.

We need this as an extra step since we need a declarative dependency on the ProcessApplicationComponent in order to call the getName() method on the ProcessApplication. The name of the process application is subsequently used for composing the name of the MscManagedProcessApplication service which means that it must be available when registering the service.

This service depends on all ProcessApplicationDeploymentService instances started for the process application. Thus, when this service is started, it is guaranteed that all process application deployments have completed successfully.

This service creates the ProcessApplicationInfo object and passes it to the MscManagedProcessApplication service.

Author:
Daniel Meyer
  • Field Details

    • deploymentServiceNames

      protected final Collection<org.jboss.msc.service.ServiceName> deploymentServiceNames
      the names of the deployment services we depend on; those must be added as declarative dependencies when the service is installed.
    • paComponentViewInjector

      protected org.jboss.msc.value.InjectedValue<org.jboss.as.ee.component.ComponentView> paComponentViewInjector
    • noViewProcessApplication

      protected org.jboss.msc.value.InjectedValue<ProcessApplicationInterface> noViewProcessApplication
    • defaultProcessEngineInjector

      protected org.jboss.msc.value.InjectedValue<ProcessEngine> defaultProcessEngineInjector
      injector for the default process engine
    • platformPluginsInjector

      protected org.jboss.msc.value.InjectedValue<BpmPlatformPlugins> platformPluginsInjector
    • preUndeployDescription

      protected org.jboss.jandex.AnnotationInstance preUndeployDescription
    • postDeployDescription

      protected org.jboss.jandex.AnnotationInstance postDeployDescription
    • processApplicationInfo

      protected ProcessApplicationInfoImpl processApplicationInfo
    • referencedProcessEngines

      protected HashSet<ProcessEngine> referencedProcessEngines
    • paModule

      protected org.jboss.modules.Module paModule
  • Constructor Details

    • ProcessApplicationStartService

      public ProcessApplicationStartService(Collection<org.jboss.msc.service.ServiceName> deploymentServiceNames, org.jboss.jandex.AnnotationInstance postDeployDescription, org.jboss.jandex.AnnotationInstance preUndeployDescription, org.jboss.modules.Module paModule)
  • Method Details