简体   繁体   中英

Commons SCXML issues

I have been considering Commons SCXML implementation. It seems quite comprehensive but I have some unclear point.

In all the examples I have seen the states of the state machine are basically methods of a class that extends AbstractStateMachine class.

For small state charts this is okay but for machines with lots of states (IN BCSM like) this is an overkill.

Is there a possibility by default to have the states represented as classes (aka the StateMachine to be a composite of State)?

Try: Control Isolator. A Control Flow Java library based on Apache Commons SCXML state machines.

http://ramontalaverasuarez.blogspot.com.es/2012/10/ControlIsolator.html

It greatly simplifies working with SCXML.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM