public RegionFactory<K, V> initCacheListeners(CacheListener<K, V>[] newListeners) {
    attrsFactory.initCacheListeners(newListeners);
    return this;
  }
Removes all cache listeners and then adds each listener in the specified array. for the next
{@code RegionAttributes} created.

@param newListeners a possibly null or empty array of listeners to add to this factory.
@return a reference to this RegionFactory object
@throws IllegalArgumentException if the {@code newListeners} array has a null element
@see AttributesFactory#initCacheListeners
geode-core/src/main/java/org/apache/geode/cache/RegionFactory.java