Class OrderStateMachineListener

java.lang.Object
org.springframework.statemachine.listener.StateMachineListenerAdapter<OrderStates,OrderEvents>
cn.net.pap.statemachine.listeners.OrderStateMachineListener
All Implemented Interfaces:
org.springframework.statemachine.listener.StateMachineListener<OrderStates,OrderEvents>

public class OrderStateMachineListener extends org.springframework.statemachine.listener.StateMachineListenerAdapter<OrderStates,OrderEvents>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    stateChanged(org.springframework.statemachine.state.State<OrderStates,OrderEvents> from, org.springframework.statemachine.state.State<OrderStates,OrderEvents> to)
     

    Methods inherited from class org.springframework.statemachine.listener.StateMachineListenerAdapter

    eventNotAccepted, extendedStateChanged, stateContext, stateEntered, stateExited, stateMachineError, stateMachineStarted, stateMachineStopped, transition, transitionEnded, transitionStarted

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OrderStateMachineListener

      public OrderStateMachineListener()
  • Method Details

    • stateChanged

      public void stateChanged(org.springframework.statemachine.state.State<OrderStates,OrderEvents> from, org.springframework.statemachine.state.State<OrderStates,OrderEvents> to)
      Specified by:
      stateChanged in interface org.springframework.statemachine.listener.StateMachineListener<OrderStates,OrderEvents>
      Overrides:
      stateChanged in class org.springframework.statemachine.listener.StateMachineListenerAdapter<OrderStates,OrderEvents>