Javadoc
This method should be called by AbstractProxyRepository and it's descendants only. Since this method modifies the
ProxyMode property of this repository, and this property is part of configuration, this call will result in
configuration flush too (potentially saving any other unsaved changes)!