Class ServiceLoaderContext

    • Constructor Detail

      • ServiceLoaderContext

        public ServiceLoaderContext()
    • Method Detail

      • getServices

        @Nonnull
        public <S> Stream<ServiceDefinition<S>> getServices​(Class<S> type)
        Description copied from interface: ServiceContext
        Retrieves all registered services of the specified type.
        Specified by:
        getServices in interface ServiceContext
        Parameters:
        type - the type of services to look for
        Returns:
        a parallel stream of all registered services of the specified type