Package org.apache.tapestry5.ioc.services

# Interface ServiceActivity

All Known Implementing Classes:
  `ServiceActivityTrackerImpl.MutableServiceActivity`

public interface ServiceActivity
Provided by the `ServiceActivityScoreboard` to track a single service's state and activity.

See Also:
  - `ServiceDef`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Set<Class>`
  `getMarkers()`
  The markers on this service
  `String`
  `getScope()`
  The scope of the service (typically "singleton" or "perthread").
  `String`
  `getServiceId()`
  The unique id for the service.
  `Class`
  `getServiceInterface()`
  The interface implemented by the service (this may occasionally be a class, for non-proxied services).
  `Status`
  `getStatus()`
  Indicates the lifecycle status of the service.

- ## Method Details

  - ### getServiceId

    String getServiceId()
    The unique id for the service.

  - ### getServiceInterface

    Class getServiceInterface()
    The interface implemented by the service (this may occasionally be a class, for non-proxied services).

  - ### getScope

    String getScope()
    The scope of the service (typically "singleton" or "perthread").

  - ### getStatus

    Status getStatus()
    Indicates the lifecycle status of the service.

  - ### getMarkers

    Set<Class> getMarkers()
    The markers on this service