Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.