Interface ConfigurableService<T>

    • Method Detail

      • getProviderForConfiguration

        T getProviderForConfiguration​(java.lang.String type,
                                      java.util.Properties configuration)
                               throws ExecutionServiceException
        Parameters:
        type - provider name
        configuration - configuration properties
        Returns:
        a ResourceModelSource of a give type with a given configuration
        Throws:
        ExecutionServiceException - on error
      • getCloseableProviderForConfiguration

        CloseableProvider<T> getCloseableProviderForConfiguration​(java.lang.String type,
                                                                  java.util.Properties configuration)
                                                           throws ExecutionServiceException
        Return a provider of type T which can be closed
        Parameters:
        type - plugin type
        configuration - configuration properties
        Returns:
        closeable provider of T
        Throws:
        ExecutionServiceException