Class AbstractLifecycle

  • All Implemented Interfaces:
    Lifecycle

    public abstract class AbstractLifecycle
    extends Object
    implements Lifecycle
    Support class for Lifecycle. Provides a convenient base implementation including correct thread safety, exception handling and check for accidental unnecessary re-start & stop. Subclasses must implement start() & stop().
    Author:
    Michael Vorburger (with guidance re. AtomicReference from Tom Pantelis)