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 Summary
FieldsModifier and TypeFieldDescriptionprivate SpringCloudServiceSetupprivate org.springframework.cloud.deployer.spi.app.AppDeployer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
-
Field Details
-
deployer
@Autowired private org.springframework.cloud.deployer.spi.app.AppDeployer deployer -
config
-
-
Constructor Details
-
StartupApplicationListener
public StartupApplicationListener()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-