@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "dynamoDbServiceRegistry")
    public ServiceRegistry dynamoDbServiceRegistry(
        final ConfigurableApplicationContext applicationContext,
        final ObjectProvider<List<ServiceRegistryListener>> serviceRegistryListeners,
        @Qualifier("dynamoDbServiceRegistryFacilitator")
        final DynamoDbServiceRegistryFacilitator dynamoDbServiceRegistryFacilitator) {
        return new DynamoDbServiceRegistry(applicationContext, dynamoDbServiceRegistryFacilitator,
            Optional.ofNullable(serviceRegistryListeners.getIfAvailable()).orElseGet(ArrayList::new));
    }
This is {@link CasDynamoDbServiceRegistryAutoConfiguration}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-dynamodb-service-registry/src/main/java/org/apereo/cas/config/CasDynamoDbServiceRegistryAutoConfiguration.java