corda / net.corda.core.node.services / ServiceLifecycleEvent / STATE_MACHINE_STARTED

STATE_MACHINE_STARTED

STATE_MACHINE_STARTED

This event is dispatched when State Machine is fully started such that net.corda.core.node.AppServiceHub available for CordaService to be use.

If a handler for this event throws CordaServiceCriticalFailureException - this is the way to flag that it will not make sense for Corda node to continue its operation. The lifecycle events dispatcher will endeavor to terminate node's JVM as soon as practically possible.