@Target(value=METHOD)
@Retention(value=RUNTIME)
@Inherited
@Documented
public @interface OnExtendedStateChanged
ExtendedState
is changed.
A method annotated with @OnExtendedStateChanged 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.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
key
The extended state variable keys.
|