@Override
  public <T extends CacheService> T getService(Class<T> clazz) {
    return clazz.cast(services.get(clazz));
  }
Remove the {@code CacheLifecycleListener}.

@return true if the listener was removed
geode-core/src/main/java/org/apache/geode/internal/cache/GemFireCacheImpl.java