Spring StateMachine 介绍

Spring Statemachine (Spring 状态机)是使用 Spring框架下的状态机概念创建的一种应用程序开发框架。它使得状态机结构层次化,简化了配置状态机的过程。

这里的状态机,不是简单的有限自动状态机,是UML状态图里面的状态机概念的具体实现。不懂状态机概念可以先百度,再回过头来看


优点:

  • Easy to use flat one level state machine for simple use cases.
  • Hierarchical state machine structure to ease complex state configuration.
  • State machine regions to provide even more complex state configurations.
  • Usage of triggers, transitions, guards and actions.
  • Type safe configuration adapter.
  • Builder pattern for easy instantiation for use outside of Spring Application context
  • Recipes for usual use cases
  • Distributed state machine based on a Zookeeper
  • State machine event listeners.
  • Spring IOC integration to associate beans with a state machine.


先祭出几个常用网站

Spring stateMachine 主页:http://projects.spring.io/spring-statemachine/

Spring stateMachine API:http://docs.spring.io/spring-statemachine/docs/1.0.1.BUILD-SNAPSHOT/api/

Spring stateMachine参考文档:http://docs.spring.io/spring-statemachine/docs/1.0.0.BUILD-SNAPSHOT/reference/htmlsingle/

Spring stateMachine源代码:https://github.com/spring-projects/spring-statemachine

Spring stateMachine StackOverflow:http://stackoverflow.com/questions/tagged/spring-statemachine






评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值