Package org.eclipse.aether.supplier
Class RepositorySystemSupplier
java.lang.Object
org.eclipse.aether.supplier.RepositorySystemSupplier
- All Implemented Interfaces:
Supplier<org.eclipse.aether.RepositorySystem>
public class RepositorySystemSupplier
extends Object
implements Supplier<org.eclipse.aether.RepositorySystem>
A simple
Supplier
of RepositorySystem
instances, that on each call supplies newly
constructed instance. For proper shut down, use RepositorySystem.shutdown()
method on supplied instance(s).
Extend this class and override methods to customize, if needed.
- Since:
- 1.9.15
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.RepositorySystem
get()
protected org.eclipse.aether.impl.ArtifactDescriptorReader
getArtifactDescriptorReader
(org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.impl.VersionResolver versionResolver, org.eclipse.aether.impl.VersionRangeResolver versionRangeResolver, org.eclipse.aether.impl.ArtifactResolver artifactResolver, org.apache.maven.model.building.ModelBuilder modelBuilder, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, org.apache.maven.repository.internal.ModelCacheFactory modelCacheFactory) protected org.eclipse.aether.impl.ArtifactResolver
getArtifactResolver
(org.eclipse.aether.spi.io.FileProcessor fileProcessor, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, org.eclipse.aether.impl.VersionResolver versionResolver, org.eclipse.aether.impl.UpdateCheckManager updateCheckManager, org.eclipse.aether.impl.RepositoryConnectorProvider repositoryConnectorProvider, org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.OfflineController offlineController, Map<String, org.eclipse.aether.spi.resolution.ArtifactResolverPostProcessor> artifactResolverPostProcessors, org.eclipse.aether.impl.RemoteRepositoryFilterManager remoteRepositoryFilterManager) getArtifactResolverPostProcessors
(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector, Map<String, org.eclipse.aether.spi.checksums.TrustedChecksumsSource> trustedChecksumsSources) protected org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory
getBasicRepositoryConnectorFactory
(org.eclipse.aether.spi.connector.transport.TransporterProvider transporterProvider, org.eclipse.aether.spi.connector.layout.RepositoryLayoutProvider repositoryLayoutProvider, org.eclipse.aether.spi.connector.checksum.ChecksumPolicyProvider checksumPolicyProvider, org.eclipse.aether.spi.io.FileProcessor fileProcessor, Map<String, org.eclipse.aether.spi.checksums.ProvidedChecksumsSource> providedChecksumsSources) protected org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector
getChecksumAlgorithmFactorySelector
(Map<String, org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory> checksumAlgorithmFactories) protected org.eclipse.aether.spi.connector.checksum.ChecksumPolicyProvider
protected org.eclipse.aether.impl.DependencyCollector
getDependencyCollector
(Map<String, org.eclipse.aether.internal.impl.collect.DependencyCollectorDelegate> dependencyCollectorDelegates) getDependencyCollectorDelegates
(org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.impl.ArtifactDescriptorReader artifactDescriptorReader, org.eclipse.aether.impl.VersionRangeResolver versionRangeResolver) protected org.eclipse.aether.impl.Deployer
getDeployer
(org.eclipse.aether.spi.io.FileProcessor fileProcessor, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, org.eclipse.aether.impl.RepositoryConnectorProvider repositoryConnectorProvider, org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.impl.UpdateCheckManager updateCheckManager, Map<String, org.eclipse.aether.impl.MetadataGeneratorFactory> metadataGeneratorFactories, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.OfflineController offlineController) protected org.eclipse.aether.spi.io.FileProcessor
protected org.eclipse.aether.impl.Installer
getInstaller
(org.eclipse.aether.spi.io.FileProcessor fileProcessor, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, Map<String, org.eclipse.aether.impl.MetadataGeneratorFactory> metadataGeneratorFactories, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory) protected org.eclipse.aether.internal.impl.LocalPathComposer
protected org.eclipse.aether.internal.impl.LocalPathPrefixComposerFactory
protected org.eclipse.aether.impl.LocalRepositoryProvider
getLocalRepositoryProvider
(org.eclipse.aether.internal.impl.LocalPathComposer localPathComposer, org.eclipse.aether.internal.impl.TrackingFileManager trackingFileManager, org.eclipse.aether.internal.impl.LocalPathPrefixComposerFactory localPathPrefixComposerFactory) protected org.eclipse.aether.impl.MetadataResolver
getMetadataResolver
(org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, org.eclipse.aether.impl.UpdateCheckManager updateCheckManager, org.eclipse.aether.impl.RepositoryConnectorProvider repositoryConnectorProvider, org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.OfflineController offlineController, org.eclipse.aether.impl.RemoteRepositoryFilterManager remoteRepositoryFilterManager) protected org.apache.maven.model.building.ModelBuilder
protected org.apache.maven.repository.internal.ModelCacheFactory
protected org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapterFactory
getNamedLockFactoryAdapterFactory
(Map<String, org.eclipse.aether.named.NamedLockFactory> namedLockFactories, Map<String, org.eclipse.aether.internal.impl.synccontext.named.NameMapper> nameMappers, org.eclipse.aether.impl.RepositorySystemLifecycle repositorySystemLifecycle) protected org.eclipse.aether.impl.OfflineController
getProvidedChecksumsSources
(Map<String, org.eclipse.aether.spi.checksums.TrustedChecksumsSource> trustedChecksumsSources) protected org.eclipse.aether.impl.RemoteRepositoryFilterManager
getRemoteRepositoryFilterManager
(Map<String, org.eclipse.aether.spi.connector.filter.RemoteRepositoryFilterSource> remoteRepositoryFilterSources) getRemoteRepositoryFilterSources
(org.eclipse.aether.impl.RepositorySystemLifecycle repositorySystemLifecycle, org.eclipse.aether.spi.connector.layout.RepositoryLayoutProvider repositoryLayoutProvider) protected org.eclipse.aether.impl.RemoteRepositoryManager
getRemoteRepositoryManager
(org.eclipse.aether.impl.UpdatePolicyAnalyzer updatePolicyAnalyzer, org.eclipse.aether.spi.connector.checksum.ChecksumPolicyProvider checksumPolicyProvider) getRepositoryConnectorFactories
(org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory basicRepositoryConnectorFactory) protected org.eclipse.aether.impl.RepositoryConnectorProvider
getRepositoryConnectorProvider
(Map<String, org.eclipse.aether.spi.connector.RepositoryConnectorFactory> repositoryConnectorFactories, org.eclipse.aether.impl.RemoteRepositoryFilterManager remoteRepositoryFilterManager) protected org.eclipse.aether.impl.RepositoryEventDispatcher
getRepositoryEventDispatcher
(Map<String, org.eclipse.aether.RepositoryListener> repositoryListeners) getRepositoryLayoutFactories
(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector) protected org.eclipse.aether.spi.connector.layout.RepositoryLayoutProvider
getRepositoryLayoutProvider
(Map<String, org.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory> repositoryLayoutFactories) protected org.eclipse.aether.impl.RepositorySystemLifecycle
protected org.eclipse.aether.spi.synccontext.SyncContextFactory
getSyncContextFactory
(org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapterFactory namedLockFactoryAdapterFactory) protected org.eclipse.aether.internal.impl.TrackingFileManager
getTransporterFactories
(Map<String, org.eclipse.aether.transport.http.ChecksumExtractor> extractors) protected org.eclipse.aether.spi.connector.transport.TransporterProvider
getTransporterProvider
(Map<String, org.eclipse.aether.spi.connector.transport.TransporterFactory> transporterFactories) getTrustedChecksumsSources
(org.eclipse.aether.spi.io.FileProcessor fileProcessor, org.eclipse.aether.internal.impl.LocalPathComposer localPathComposer, org.eclipse.aether.impl.RepositorySystemLifecycle repositorySystemLifecycle) protected org.eclipse.aether.impl.UpdateCheckManager
getUpdateCheckManager
(org.eclipse.aether.internal.impl.TrackingFileManager trackingFileManager, org.eclipse.aether.impl.UpdatePolicyAnalyzer updatePolicyAnalyzer) protected org.eclipse.aether.impl.UpdatePolicyAnalyzer
protected org.eclipse.aether.impl.VersionRangeResolver
getVersionRangeResolver
(org.eclipse.aether.impl.MetadataResolver metadataResolver, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher) protected org.eclipse.aether.impl.VersionResolver
getVersionResolver
(org.eclipse.aether.impl.MetadataResolver metadataResolver, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher)
-
Constructor Details
-
RepositorySystemSupplier
public RepositorySystemSupplier()
-
-
Method Details
-
getFileProcessor
-
getTrackingFileManager
-
getLocalPathComposer
-
getLocalPathPrefixComposerFactory
protected org.eclipse.aether.internal.impl.LocalPathPrefixComposerFactory getLocalPathPrefixComposerFactory() -
getRepositorySystemLifecycle
-
getOfflineController
-
getUpdatePolicyAnalyzer
-
getChecksumPolicyProvider
protected org.eclipse.aether.spi.connector.checksum.ChecksumPolicyProvider getChecksumPolicyProvider() -
getUpdateCheckManager
protected org.eclipse.aether.impl.UpdateCheckManager getUpdateCheckManager(org.eclipse.aether.internal.impl.TrackingFileManager trackingFileManager, org.eclipse.aether.impl.UpdatePolicyAnalyzer updatePolicyAnalyzer) -
getNamedLockFactories
-
getNameMappers
protected Map<String,org.eclipse.aether.internal.impl.synccontext.named.NameMapper> getNameMappers() -
getNamedLockFactoryAdapterFactory
protected org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapterFactory getNamedLockFactoryAdapterFactory(Map<String, org.eclipse.aether.named.NamedLockFactory> namedLockFactories, Map<String, org.eclipse.aether.internal.impl.synccontext.named.NameMapper> nameMappers, org.eclipse.aether.impl.RepositorySystemLifecycle repositorySystemLifecycle) -
getSyncContextFactory
protected org.eclipse.aether.spi.synccontext.SyncContextFactory getSyncContextFactory(org.eclipse.aether.internal.impl.synccontext.named.NamedLockFactoryAdapterFactory namedLockFactoryAdapterFactory) -
getChecksumAlgorithmFactories
protected Map<String,org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory> getChecksumAlgorithmFactories() -
getChecksumAlgorithmFactorySelector
protected org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector getChecksumAlgorithmFactorySelector(Map<String, org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory> checksumAlgorithmFactories) -
getRepositoryLayoutFactories
protected Map<String,org.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory> getRepositoryLayoutFactories(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector) -
getRepositoryLayoutProvider
protected org.eclipse.aether.spi.connector.layout.RepositoryLayoutProvider getRepositoryLayoutProvider(Map<String, org.eclipse.aether.spi.connector.layout.RepositoryLayoutFactory> repositoryLayoutFactories) -
getLocalRepositoryProvider
protected org.eclipse.aether.impl.LocalRepositoryProvider getLocalRepositoryProvider(org.eclipse.aether.internal.impl.LocalPathComposer localPathComposer, org.eclipse.aether.internal.impl.TrackingFileManager trackingFileManager, org.eclipse.aether.internal.impl.LocalPathPrefixComposerFactory localPathPrefixComposerFactory) -
getRemoteRepositoryManager
protected org.eclipse.aether.impl.RemoteRepositoryManager getRemoteRepositoryManager(org.eclipse.aether.impl.UpdatePolicyAnalyzer updatePolicyAnalyzer, org.eclipse.aether.spi.connector.checksum.ChecksumPolicyProvider checksumPolicyProvider) -
getRemoteRepositoryFilterSources
protected Map<String,org.eclipse.aether.spi.connector.filter.RemoteRepositoryFilterSource> getRemoteRepositoryFilterSources(org.eclipse.aether.impl.RepositorySystemLifecycle repositorySystemLifecycle, org.eclipse.aether.spi.connector.layout.RepositoryLayoutProvider repositoryLayoutProvider) -
getRemoteRepositoryFilterManager
protected org.eclipse.aether.impl.RemoteRepositoryFilterManager getRemoteRepositoryFilterManager(Map<String, org.eclipse.aether.spi.connector.filter.RemoteRepositoryFilterSource> remoteRepositoryFilterSources) -
getRepositoryListeners
-
getRepositoryEventDispatcher
protected org.eclipse.aether.impl.RepositoryEventDispatcher getRepositoryEventDispatcher(Map<String, org.eclipse.aether.RepositoryListener> repositoryListeners) -
getTrustedChecksumsSources
protected Map<String,org.eclipse.aether.spi.checksums.TrustedChecksumsSource> getTrustedChecksumsSources(org.eclipse.aether.spi.io.FileProcessor fileProcessor, org.eclipse.aether.internal.impl.LocalPathComposer localPathComposer, org.eclipse.aether.impl.RepositorySystemLifecycle repositorySystemLifecycle) -
getProvidedChecksumsSources
protected Map<String,org.eclipse.aether.spi.checksums.ProvidedChecksumsSource> getProvidedChecksumsSources(Map<String, org.eclipse.aether.spi.checksums.TrustedChecksumsSource> trustedChecksumsSources) -
getChecksumExtractors
-
getTransporterFactories
protected Map<String,org.eclipse.aether.spi.connector.transport.TransporterFactory> getTransporterFactories(Map<String, org.eclipse.aether.transport.http.ChecksumExtractor> extractors) -
getTransporterProvider
protected org.eclipse.aether.spi.connector.transport.TransporterProvider getTransporterProvider(Map<String, org.eclipse.aether.spi.connector.transport.TransporterFactory> transporterFactories) -
getBasicRepositoryConnectorFactory
protected org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory getBasicRepositoryConnectorFactory(org.eclipse.aether.spi.connector.transport.TransporterProvider transporterProvider, org.eclipse.aether.spi.connector.layout.RepositoryLayoutProvider repositoryLayoutProvider, org.eclipse.aether.spi.connector.checksum.ChecksumPolicyProvider checksumPolicyProvider, org.eclipse.aether.spi.io.FileProcessor fileProcessor, Map<String, org.eclipse.aether.spi.checksums.ProvidedChecksumsSource> providedChecksumsSources) -
getRepositoryConnectorFactories
protected Map<String,org.eclipse.aether.spi.connector.RepositoryConnectorFactory> getRepositoryConnectorFactories(org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory basicRepositoryConnectorFactory) -
getRepositoryConnectorProvider
protected org.eclipse.aether.impl.RepositoryConnectorProvider getRepositoryConnectorProvider(Map<String, org.eclipse.aether.spi.connector.RepositoryConnectorFactory> repositoryConnectorFactories, org.eclipse.aether.impl.RemoteRepositoryFilterManager remoteRepositoryFilterManager) -
getInstaller
protected org.eclipse.aether.impl.Installer getInstaller(org.eclipse.aether.spi.io.FileProcessor fileProcessor, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, Map<String, org.eclipse.aether.impl.MetadataGeneratorFactory> metadataGeneratorFactories, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory) -
getDeployer
protected org.eclipse.aether.impl.Deployer getDeployer(org.eclipse.aether.spi.io.FileProcessor fileProcessor, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, org.eclipse.aether.impl.RepositoryConnectorProvider repositoryConnectorProvider, org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.impl.UpdateCheckManager updateCheckManager, Map<String, org.eclipse.aether.impl.MetadataGeneratorFactory> metadataGeneratorFactories, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.OfflineController offlineController) -
getDependencyCollectorDelegates
protected Map<String,org.eclipse.aether.internal.impl.collect.DependencyCollectorDelegate> getDependencyCollectorDelegates(org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.impl.ArtifactDescriptorReader artifactDescriptorReader, org.eclipse.aether.impl.VersionRangeResolver versionRangeResolver) -
getDependencyCollector
protected org.eclipse.aether.impl.DependencyCollector getDependencyCollector(Map<String, org.eclipse.aether.internal.impl.collect.DependencyCollectorDelegate> dependencyCollectorDelegates) -
getArtifactResolverPostProcessors
protected Map<String,org.eclipse.aether.spi.resolution.ArtifactResolverPostProcessor> getArtifactResolverPostProcessors(org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector, Map<String, org.eclipse.aether.spi.checksums.TrustedChecksumsSource> trustedChecksumsSources) -
getArtifactResolver
protected org.eclipse.aether.impl.ArtifactResolver getArtifactResolver(org.eclipse.aether.spi.io.FileProcessor fileProcessor, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, org.eclipse.aether.impl.VersionResolver versionResolver, org.eclipse.aether.impl.UpdateCheckManager updateCheckManager, org.eclipse.aether.impl.RepositoryConnectorProvider repositoryConnectorProvider, org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.OfflineController offlineController, Map<String, org.eclipse.aether.spi.resolution.ArtifactResolverPostProcessor> artifactResolverPostProcessors, org.eclipse.aether.impl.RemoteRepositoryFilterManager remoteRepositoryFilterManager) -
getMetadataResolver
protected org.eclipse.aether.impl.MetadataResolver getMetadataResolver(org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, org.eclipse.aether.impl.UpdateCheckManager updateCheckManager, org.eclipse.aether.impl.RepositoryConnectorProvider repositoryConnectorProvider, org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.OfflineController offlineController, org.eclipse.aether.impl.RemoteRepositoryFilterManager remoteRepositoryFilterManager) -
getMetadataGeneratorFactories
protected Map<String,org.eclipse.aether.impl.MetadataGeneratorFactory> getMetadataGeneratorFactories() -
getArtifactDescriptorReader
protected org.eclipse.aether.impl.ArtifactDescriptorReader getArtifactDescriptorReader(org.eclipse.aether.impl.RemoteRepositoryManager remoteRepositoryManager, org.eclipse.aether.impl.VersionResolver versionResolver, org.eclipse.aether.impl.VersionRangeResolver versionRangeResolver, org.eclipse.aether.impl.ArtifactResolver artifactResolver, org.apache.maven.model.building.ModelBuilder modelBuilder, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher, org.apache.maven.repository.internal.ModelCacheFactory modelCacheFactory) -
getVersionResolver
protected org.eclipse.aether.impl.VersionResolver getVersionResolver(org.eclipse.aether.impl.MetadataResolver metadataResolver, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher) -
getVersionRangeResolver
protected org.eclipse.aether.impl.VersionRangeResolver getVersionRangeResolver(org.eclipse.aether.impl.MetadataResolver metadataResolver, org.eclipse.aether.spi.synccontext.SyncContextFactory syncContextFactory, org.eclipse.aether.impl.RepositoryEventDispatcher repositoryEventDispatcher) -
getModelBuilder
-
getModelCacheFactory
-
get
-