@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface OnStateExit
State
is exited.
A method annotated with @OnStateChanged may accept a parameter of type
ExtendedState
, Map
if map argument itself is annotated
with EventHeaders
, StateMachine
, Message
or Exception
.
Return value can be anything and is effectively discarded.