@Override
    public Stream<RegisteredService> findServicesBy(final RegisteredServiceQuery... queries) {
        return serviceManagers
            .stream()
            .map(manager -> manager.findServicesBy(queries))
            .flatMap(results -> StreamSupport.stream(results.spliterator(), false));
    }
This is {@link DefaultChainingServicesManager}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-services-registry/src/main/java/org/apereo/cas/services/mgmt/DefaultChainingServicesManager.java