Class DefaultRepositoryConnectorProvider

    • Method Detail

      • initService

        public void initService​(org.eclipse.aether.spi.locator.ServiceLocator locator)
        Specified by:
        initService in interface org.eclipse.aether.spi.locator.Service
      • newRepositoryConnector

        public org.eclipse.aether.spi.connector.RepositoryConnector newRepositoryConnector​(org.eclipse.aether.RepositorySystemSession session,
                                                                                           org.eclipse.aether.repository.RemoteRepository repository)
                                                                                    throws org.eclipse.aether.transfer.NoRepositoryConnectorException
        Description copied from interface: RepositoryConnectorProvider
        Tries to create a repository connector for the specified remote repository.
        Specified by:
        newRepositoryConnector in interface RepositoryConnectorProvider
        Parameters:
        session - The repository system session from which to configure the connector, must not be null.
        repository - The remote repository to create a connector for, must not be null.
        Returns:
        The connector for the given repository, never null.
        Throws:
        org.eclipse.aether.transfer.NoRepositoryConnectorException - If no available factory can create a connector for the specified remote repository.