@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public DisposableBean hazelcastMonitorDisposableBean(
        @Qualifier("casTicketRegistryHazelcastInstance")
        final HazelcastInstance casTicketRegistryHazelcastInstance) {
        return casTicketRegistryHazelcastInstance::shutdown;
    }
This is {@link CasHazelcastMonitorAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-hazelcast-monitor/src/main/java/org/apereo/cas/config/CasHazelcastMonitorAutoConfiguration.java