protected URI loadConfigUri ( ) throws URISyntaxException , FileNotFoundException { Collection < String > configNames = getAggregator ( ) . getInitParams ( ) . getValues ( InitParams . CONFIG_INITPARAM ) ; if ( configNames . size ( ) != 1 ) { throw new IllegalArgumentException ( InitParams . CONFIG_INITPARAM ) ; } String configName = configNames . iterator ( ) . next ( ) ; return new URI ( configName ) ; }
Initializes and returns the URI to the server - side config JavaScript