Fix empty @OnTransition

- Fix so that bean method will be called with
  plain @OnTransition having no source or target
  defined.
- Fixes #128
This commit is contained in:
Janne Valkealahti
2015-11-26 12:10:22 +00:00
parent c981c5a6ee
commit f6037802fd
4 changed files with 36 additions and 10 deletions

View File

@@ -668,7 +668,8 @@ into your beans.
=== Annotation Support
_@WithStateMachine_ annotation can be used to associate a state
machine with a existing bean. Within this annotation a property's
_source_ and _target_ can be used to qualify a transition
_source_ and _target_ can be used to qualify a transition. If
_source_ and _target_ is left empty then any transition is matched.
[source,java,indent=0]
----