Osworkflow is a lightweight workflow engine, Code The structure is very simple and clear, as follows: 1) COM. opensymphony. workflow workflow code interface 2) COM. opensymphony. workflow. of course, config refers to the configuration, mainly for osworkflow. XML Parsing
That is, parse the following content:
<Osworkflow>
<Persistence class = "com. opensymphony. workflow. SPI. Memory. memoryworkflowstore"/> <factory class = "com. opensymphony. workflow. loader. xmlworkflowfactory">
<Property key = "resource" value = "workflows. xml"/>
</Factory>
</Osworkflow> 3) COM. opensymphony. workflow. loader refers to the loading. Here it refers to the reading of the process definition, that is, Parsing
The process defined in the workflows. xml file in <property key = "resource" value = "workflows. xml"/> 4) COM. opensymphony. workflow. Query
Used to process expressions 5) COM. opensymphony. workflow. SPI refers to server provider Identification
That is, in osworkflow. XML
<Persistence class = "com. opensymphony. workflow. SPI. Memory. memoryworkflowstore"/>
Look at the subdirectories in this package and you will know: EJB/hibernate/jdbc/memory .... 6) COM. opensymphony. workflow. timer knows the word timer when learning Java.
Schedule7) COM. opensymphony. workflow. util
Util is very useful here, including support for a variety of features: bean shell/condition/caller/JMS/mail/
Listener/status and so on...
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