Interface ManagedObject

    • Method Detail

      • getStatus

        LifeCycleStatus getStatus()
        Returns the current managed object status.
        Returns:
        the status
      • getFailure

        Throwable getFailure()
        Returns the last known failure when the managed object attempted a transition, otherwise return null.
        Returns:
        the failure
      • managedStart

        void managedStart()
                   throws IllegalStateException
        Attempt to start the managed object, same as calling promote(LifeCycleStatus.STARTED).
        Throws:
        IllegalStateException - when reentrency is detected