@Configuration
@AutoConfigureAfter(name={"me.snowdrop.boot.narayana.openshift.recovery.StatefulsetRecoveryControllerAutoConfiguration","me.snowdrop.boot.narayana.SpringBoot1NarayanaConfiguration","me.snowdrop.boot.narayana.SpringBoot2NarayanaConfiguration"})
@ConditionalOnBean(value=PodStatusManager.class)
public class NarayanaRecoveryTerminationControllerAutoConfiguration
extends Object
| Constructor and Description |
|---|
NarayanaRecoveryTerminationControllerAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
NarayanaRecoveryTerminationController |
narayanaRecoveryTerminationController(PodStatusManager podStatusManager,
List<ServiceShutdownController> shutdownControllers) |
public NarayanaRecoveryTerminationControllerAutoConfiguration()
@Bean(initMethod="start",
destroyMethod="stop")
@DependsOn(value="recoveryManagerService")
@ConditionalOnMissingBean(value=NarayanaRecoveryTerminationController.class)
public NarayanaRecoveryTerminationController narayanaRecoveryTerminationController(PodStatusManager podStatusManager,
List<ServiceShutdownController> shutdownControllers)
Copyright © 2018. All rights reserved.