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(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(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


Copyright © 2003-2012 The Apache Software Foundation.