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

public abstract class ReadyBean extends Object implements ReadyAndReadyListener
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 Details

    • ReadyBean

      public ReadyBean()
  • Method Details

    • getReady

      public ReadyIndicator getReady()
      Override of the Ready interface.
      Specified by:
      getReady in interface Ready
      Returns:
      the ReadyIndicator object