Processengines container of activiti

Source: Internet
Author: User

Processengines consists of one or more processengine and processengineinfo corresponding to processengine.

Each processengine corresponds to one processengineinfo.

 

 

 

Each processengine is created through a configuration file activiti. properties. The activiti. properties configuration contains a process. Engine. Name to uniquely identify the process engine.

The parsing of activiti. properties is completed by dbprocessenginebuilder. After dbprocessenginebuilder parses the file, it creates the processengineconfiguration instance and saves the default Implementation of persistencesessionfactory ibatispersistencesessionfactory to the processengineconfiguration instance.

 

When processengine is created, the processengineconfiguration instance is passed in as a parameter and a processengineimpl instance is returned.

 

A brief diagram of the process for creating each process instance:

 

A processengineconfiguration contains all the service components required by the process engine,

 

In processengine and processengineimpl, only some components are exposed and visible to the outside. For example, procesengine and processengineimpl are externally exposed components that can be acquired.

 

 

Pending

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.