@InterfaceAudience.Public

# Package org.apache.hadoop.service

- Interface Summary
  Interface | Description
  --- | ---
  Service | Service LifeCycle.
  ServiceStateChangeListener | Interface to notify state changes of a service.

- Class Summary
  Class | Description
  --- | ---
  AbstractService | This is the base implementation class for services.
  CompositeService | Composition of services.
  LifecycleEvent | A serializable lifecycle event: the time a state transition occurred, and what state was entered.
  LoggingStateChangeListener | This is a state change listener that logs events at INFO level
  ServiceOperations | This class contains a set of methods to work with services, especially to walk them through their lifecycle.
  ServiceStateModel | Implements the service state model.

- Exception Summary
  Exception | Description
  --- | ---
  ServiceStateException | Exception that can be raised on state change operations, whose exit code can be explicitly set, determined from that of any nested cause, or a default value of `LauncherExitCodes.EXIT_SERVICE_LIFECYCLE_EXCEPTION`.

Copyright © 2022 Apache Software Foundation. All rights reserved.