public static void registerProvider( String providerName, Class<? extends StorageProvider> providerClass )
    {
        if ( PROVIDERS.containsKey( providerName ) ) {
            throw new IllegalArgumentException( "A provider already exists with the name " + providerName );
        }
        PROVIDERS.put( providerName, providerClass );
        LOGGER.debug( "Registering new provider: {}", providerClass.getSimpleName() );
    }
public static void registerProvider ( String providerName , Class < ? extends StorageProvider > providerClass ) { if ( PROVIDERS . containsKey ( providerName ) ) { throw new IllegalArgumentException ( "A provider already exists with the name " + providerName ) ; } PROVIDERS . put ( providerName , providerClass ) ; LOGGER . debug ( "Registering new provider: {}" , providerClass . getSimpleName ( ) ) ; }
Register a new {@link StorageProvider}

@param providerName The name to use with the provider
@param providerClass The provider class