Package org.apache.tapestry5.ioc.internal

## Interface ServiceActivityTracker

- All Known Implementing Classes:
    `ServiceActivityTrackerImpl`

      public interface ServiceActivityTracker

  Used to update the status of services defined by the `ServiceActivityScoreboard`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `define​(ServiceDef serviceDef, Status initialStatus)` | Defines a service in the tracker with an initial status.
    `void` | `setStatus​(java.lang.String serviceId, Status status)` | Updates the status for the service.

- - ### Method Detail

    - #### define

          void define​(ServiceDef serviceDef,
                      Status initialStatus)

      Defines a service in the tracker with an initial status.
      Parameters:
        `serviceDef` - the service being defined
        `initialStatus` - typically `Status.BUILTIN` or `Status.DEFINED`

    - #### setStatus

          void setStatus​(java.lang.String serviceId,
                         Status status)

      Updates the status for the service.
      Parameters:
        `serviceId` - identifies the service, which must be previously defined
        `status` - the new status value