Package org.distributeme.core.lifecycle
Interface LifecycleAware
public interface LifecycleAware
A service can implement this to signal distributeme that it is aware of the lifecycles and wants to be asked about it status.
- Version:
- $Id: $Id
- Author:
- lrosenberg
-
Method Summary
Modifier and TypeMethodDescriptionReturns the custom health status.
-
Method Details
-
getHealthStatus
HealthStatus getHealthStatus()Returns the custom health status. This health status can include stuff like cache state, db connection, etc.- Returns:
- a
HealthStatusobject.
-