Interface ChannelProviderRegistry


  • public interface ChannelProviderRegistry
    Interface for locating channel providers.
    Author:
    mrk
    • Method Detail

      • getProvider

        ChannelProvider getProvider​(String providerName)
        Get a shared instance of the provider with the specified name.
        Parameters:
        providerName - The name of the provider.
        Returns:
        The interface for the provider or null if the provider is not known.
      • createProvider

        ChannelProvider createProvider​(String providerName)
        Creates a new instance of the provider with the specified name.
        Parameters:
        providerName - The name of the provider.
        Returns:
        The interface for the provider or null if the provider is not known.
      • getProviderNames

        String[] getProviderNames()
        Get a array of the names of all the known providers.
        Returns:
        The names.