Package com.tccc.kos.commons.util.ready
package com.tccc.kos.commons.util.ready
Contains classes and interfaces used by the bean context to control
ready processing.
- Since:
- 1.0
- Version:
- 2022-10-21
-
ClassDescriptionClass used to coordinate multiple asynchronous states to trigger a ready callback.Interface indicating that the implementing bean supports the "ready" protocol.Interface that combines
ReadyandReadyListenerto allow an object to be notified when all dependencies are ready (ReadyListener) and notify all upstream objects that this object isReady.Abstract convenience base class that incorporates both theReadyandReadListenerinterfaces.Interface providing a callback method that is attached to theReadyIndicatorto receive a ready notification.Class used by Ready beans to indicate when the bean has become ready.When a bean implements this interface, then it receives callbacks when fields annotated with WhenReady become "ready".