Leonard Richardson <[EMAIL PROTECTED]> writes:
> I am adding code to all my application-specific Turbine services to give them
> the ability to describe their current status. For instance, I have a service
> which performs a complex action on demand; it keeps track of the number of
> successes and failures, and the average time the action takes to execute. I'm
> going to make this information accessible to an admin of my app, and similar
> information for my other application-specific Turbine services.
>
> The following is a patch which adds a new method (public String getStatus()) to
> the Service interface, so that it's easy to add this sort of capability to your
> Turbine services. Simple implementations are provided for BaseService and
> BaseUnicastRemoteObject; they display whether or not the service has
> been initialized.
>
> Let me know whether you think this feature would be generally useful in Turbine.
This is great! I really like the move towards enabling services to
describe themselves in a human-readable fashion. +1
Daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]