public DozerBeanMapperBuilder withEventListeners(List<EventListener> eventListeners) {
        if (eventListeners != null) {
            this.eventListeners.addAll(eventListeners);
        }
        return this;
    }
Registers a {@link EventListener} for the mapper. Multiple calls of this method will register listeners in the order of calling.
<p>
By default, no listeners are registered.

@param eventListeners listeners to be registered for the mapper.
@return modified builder to be further configured.
core/src/main/java/com/github/dozermapper/core/DozerBeanMapperBuilder.java