class ConsulLoadBalanceConfiguration {
    @Autowired
    private ConsulClient client;

    @Autowired
    private LoadBalanceListenerExecutor loadBalanceListenerExecutor;

    @Bean
    public ServerList<?> ribbonServerList(IClientConfig config, ConsulDiscoveryProperties properties) {<FILL_FUNCTION_BODY>}
}

        ConsulServerListDecorator serverList = new ConsulServerListDecorator(client, properties);
        serverList.initWithNiwsConfig(config);
        serverList.setLoadBalanceListenerExecutor(loadBalanceListenerExecutor);

        return serverList;
    
<no_super_class>