Package com.tccc.kos.commons.util.ready
Class ReadyBean
java.lang.Object
com.tccc.kos.commons.util.ready.ReadyBean
- All Implemented Interfaces:
Ready
,ReadyAndReadyListener
,ReadyListener
- Direct Known Subclasses:
AbstractConfigurable
,AbstractService
,CriticalDataSerialNumberProvider
,UdevNode
Abstract convenience base class that incorporates both the
Ready
and ReadListener
interfaces. This is for objects that want to listen to
@Autowired
and @WhenReady
annotated properties and trigger a ready
callback when these properties are ready. if you have a class that doesn't extend
any other class, you can extend ReadyBean
to more easily get functionality
provided by ReadyAndReadyListener
.- Since:
- 1.0
- Version:
- 2022-08-31
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tccc.kos.commons.util.ready.ReadyAndReadyListener
onBeanReady, onDependenciesReady
Methods inherited from interface com.tccc.kos.commons.util.ready.ReadyListener
onDependenciesGroupReady