Class Phase

java.lang.Object
org.axonframework.lifecycle.Phase

public abstract class Phase extends Object
Utility class containing constants which can be used as input for the StartHandler and ShutdownHandler annotations, or components implementing the Lifecycle interface.
Since:
4.3
Author:
Steven van Beelen
See Also:
  • Field Details

    • EXTERNAL_CONNECTIONS

      public static final int EXTERNAL_CONNECTIONS
      Phase to start or shutdown all external connections.
      See Also:
    • OUTBOUND_EVENT_CONNECTORS

      public static final int OUTBOUND_EVENT_CONNECTORS
      Phase to start or shutdown outbound event connectors. It is targeted towards connectors which can send events out to external applications.
      See Also:
    • LOCAL_MESSAGE_HANDLER_REGISTRATIONS

      public static final int LOCAL_MESSAGE_HANDLER_REGISTRATIONS
      Phase to register or cancel the registration of any local message handler.
      See Also:
    • OUTBOUND_COMMAND_CONNECTORS

      public static final int OUTBOUND_COMMAND_CONNECTORS
      Phase to start or shutdown outbound command and/or query connectors. It is targeted towards connectors which send commands and/or queries out to external applications.
      See Also:
    • OUTBOUND_QUERY_CONNECTORS

      public static final int OUTBOUND_QUERY_CONNECTORS
      Phase to start or shutdown outbound command and/or query connectors. It is targeted towards connectors which send commands and/or queries out to external applications.
      See Also:
    • INBOUND_COMMAND_CONNECTOR

      public static final int INBOUND_COMMAND_CONNECTOR
      Phase to start or shutdown inbound command connectors. It is targeted towards connectors which receive commands from external applications.
      See Also:
    • INBOUND_QUERY_CONNECTOR

      public static final int INBOUND_QUERY_CONNECTOR
      Phase to start or shutdown inbound query connectors. It is targeted towards connectors which receive queries from external applications.
      See Also:
    • INBOUND_EVENT_CONNECTORS

      public static final int INBOUND_EVENT_CONNECTORS
      Phase to start or shutdown inbound event connectors. It is targeted towards connectors which can receive events from external sources.
      See Also:
    • INSTRUCTION_COMPONENTS

      public static final int INSTRUCTION_COMPONENTS
      Phase to start or shutdown components which send/receive/handle instructions for/to other connectors.
      See Also: