Class Phase
java.lang.Object
org.axonframework.common.lifecycle.Phase
Utility class containing constants that can be used as input when registering
ComponentDefinitions with
start and/or
shutdown handlers.- Since:
- 4.3.0
- Author:
- Steven van Beelen
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPhase to start or shutdown all external connections.static final intPhase to start or shutdown inbound command connectors.static final intPhase to start or shutdown inbound event connectors.static final intPhase to start or shutdown inbound query connectors.static final intPhase to start or shutdown components which send/receive/handle instructions for/to other connectors.static final intPhase to register or cancel the registration of any local message handler.static final intPhase to start or shutdown outbound command and/or query connectors.static final intPhase to start or shutdown outbound event connectors.static final intPhase to start or shutdown outbound command and/or query connectors. -
Method Summary
-
Field Details
-
EXTERNAL_CONNECTIONS
public static final int EXTERNAL_CONNECTIONSPhase to start or shutdown all external connections.- See Also:
-
OUTBOUND_EVENT_CONNECTORS
public static final int OUTBOUND_EVENT_CONNECTORSPhase 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_REGISTRATIONSPhase to register or cancel the registration of any local message handler.- See Also:
-
OUTBOUND_COMMAND_CONNECTORS
public static final int OUTBOUND_COMMAND_CONNECTORSPhase 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_CONNECTORSPhase 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_CONNECTORPhase 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_CONNECTORPhase 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_CONNECTORSPhase 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_COMPONENTSPhase to start or shutdown components which send/receive/handle instructions for/to other connectors.- See Also:
-