public ResourceModelSource getSourceForConfiguration(final String type, final Properties configuration) throws
        ExecutionServiceException {

        //load instance without retention
        final ResourceModelSourceFactory nodesSourceFactory = providerOfType(type);
        try {
            return nodesSourceFactory.createResourceModelSource(configuration);
        } catch (Throwable e) {
            throw new ResourceModelSourceServiceException(e);
        }
    }
public ResourceModelSource getSourceForConfiguration ( final String type , final Properties configuration ) throws ExecutionServiceException { final ResourceModelSourceFactory nodesSourceFactory = providerOfType ( type ) ; try { return nodesSourceFactory . createResourceModelSource ( configuration ) ; } catch ( Throwable e ) { throw new ResourceModelSourceServiceException ( e ) ; } }
@return a ResourceModelSource of a give type with a given configuration, without retention
@param configuration configuration
@param type provider name
@throws ExecutionServiceException on error