Class DefaultPluginManager

    • Method Detail

      • load

        public <P> Iterator<P> load​(Class<P> service)
        Description copied from interface: PluginManager
        Returns in iterator over all available implementations of the given service interface (SPI) in all the plugins known to this plugin manager instance.
        Specified by:
        load in interface PluginManager
        Type Parameters:
        P - Type of the requested plugin service.
        Parameters:
        service - the service interface (SPI) for which implementations are requested.
        Returns:
        Iterator over all implementations of the given service that could be loaded from all known plugins.