@Bean
    public EventManager clusteredEventManagerImpl(final EventConnectorHub eventConnectorHub) {
        return EventManagerBuilder.eventManagerBuilder()
                .setEventConnector(eventConnectorHub)
                .setName("CLUSTERED_EVENT_MANAGER").build();
    }
@Bean
    public EventManager clusteredEventManagerImpl(final EventConnectorHub eventConnectorHub) {
        return EventManagerBuilder.eventManagerBuilder()
                .setEventConnector(eventConnectorHub)
                .setName("CLUSTERED_EVENT_MANAGER").build();
    }
@ Bean public EventManager clusteredEventManagerImpl ( final EventConnectorHub eventConnectorHub ) { return EventManagerBuilder . eventManagerBuilder ( ) . setEventConnector ( eventConnectorHub ) . setName ( "CLUSTERED_EVENT_MANAGER" ) . build ( ) ; }
Wraps factory method call so we can provide another implementation of interface if needed.

@param eventConnectorHub the cluster of event connectors
@return the event manager
Wraps factory method call so we can provide another implementation of interface if needed .