Class StartupApplicationListener

java.lang.Object
de.iip_ecosphere.platform.services.spring.StartupApplicationListener
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Direct Known Subclasses:
SpringLifecycleDescriptor.Startup

@Component public class StartupApplicationListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Performs instance initialization work with SpringInstances. Must be executed before first use of SpringCloudServiceManager.
Author:
Holger Eichelberger, SSE
  • Field Details

    • deployer

      @Autowired private org.springframework.cloud.deployer.spi.app.AppDeployer deployer
    • config

      @Autowired private SpringCloudServiceSetup config
  • Constructor Details

    • StartupApplicationListener

      public StartupApplicationListener()
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>