Class OMAGServerPlatform.ApplicationContextListener

java.lang.Object
org.odpi.openmetadata.platformchassis.springboot.OMAGServerPlatform.ApplicationContextListener
Enclosing class:
OMAGServerPlatform

@Component public class OMAGServerPlatform.ApplicationContextListener extends Object
ApplicationContextListener detects various events during the lifetime of the OMAGServerPlatform run.
  • Constructor Details

    • ApplicationContextListener

      public ApplicationContextListener()
  • Method Details

    • applicationReady

      @EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void applicationReady()
      Print out message to say that the platform is ready.
    • onApplicationEvent

      @EventListener public void onApplicationEvent(org.springframework.context.event.ContextClosedEvent event)
      Detect platform shutdown.
      Parameters:
      event - unused event information