public final void registerConfiguration(URL nextLocation) {
        
        BindingConfiguration configuration = BindingXmlLoader.load(nextLocation);

        for (Provider nextProvider : configuration.getProviders()) {
            
            try {
                registerConverterProvider(nextProvider.getProviderClass().newInstance());
            } catch (InstantiationException e) {
                throw new IllegalStateException("Cannot instantiate binding provider class: " + nextProvider.getProviderClass().getName());
            } catch (IllegalAccessException e) {
                throw new IllegalStateException("Cannot access binding provider class: " + nextProvider.getProviderClass().getName());
            }
        }
        
        registerBindingConfigurationEntries(configuration.getBindingEntries());
    }
public final void registerConfiguration ( URL nextLocation ) { BindingConfiguration configuration = BindingXmlLoader . load ( nextLocation ) ; for ( Provider nextProvider : configuration . getProviders ( ) ) { try { registerConverterProvider ( nextProvider . getProviderClass ( ) . newInstance ( ) ) ; } catch ( InstantiationException e ) { throw new IllegalStateException ( "Cannot instantiate binding provider class: " + nextProvider . getProviderClass ( ) . getName ( ) ) ; } catch ( IllegalAccessException e ) { throw new IllegalStateException ( "Cannot access binding provider class: " + nextProvider . getProviderClass ( ) . getName ( ) ) ; } } registerBindingConfigurationEntries ( configuration . getBindingEntries ( ) ) ; }
Register the configuration file (bindings.xml) at the given URL