Package org.eclipse.aether.supplier
Class RepositorySystemSupplier
java.lang.Object
org.eclipse.aether.supplier.RepositorySystemSupplier
- All Implemented Interfaces:
Supplier<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 TypeMethodDescriptionget()
protected ArtifactDescriptorReader
getArtifactDescriptorReader
(RemoteRepositoryManager remoteRepositoryManager, VersionResolver versionResolver, VersionRangeResolver versionRangeResolver, ArtifactResolver artifactResolver, org.apache.maven.model.building.ModelBuilder modelBuilder, RepositoryEventDispatcher repositoryEventDispatcher, org.apache.maven.repository.internal.ModelCacheFactory modelCacheFactory) protected ArtifactResolver
getArtifactResolver
(FileProcessor fileProcessor, RepositoryEventDispatcher repositoryEventDispatcher, VersionResolver versionResolver, UpdateCheckManager updateCheckManager, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, SyncContextFactory syncContextFactory, OfflineController offlineController, Map<String, ArtifactResolverPostProcessor> artifactResolverPostProcessors, RemoteRepositoryFilterManager remoteRepositoryFilterManager) protected Map<String,
ArtifactResolverPostProcessor> getArtifactResolverPostProcessors
(ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector, Map<String, TrustedChecksumsSource> trustedChecksumsSources) protected BasicRepositoryConnectorFactory
getBasicRepositoryConnectorFactory
(TransporterProvider transporterProvider, RepositoryLayoutProvider repositoryLayoutProvider, ChecksumPolicyProvider checksumPolicyProvider, FileProcessor fileProcessor, Map<String, ProvidedChecksumsSource> providedChecksumsSources) protected Map<String,
ChecksumAlgorithmFactory> protected ChecksumAlgorithmFactorySelector
getChecksumAlgorithmFactorySelector
(Map<String, ChecksumAlgorithmFactory> checksumAlgorithmFactories) protected Map<String,
ChecksumExtractor> protected ChecksumPolicyProvider
protected DependencyCollector
getDependencyCollector
(Map<String, DependencyCollectorDelegate> dependencyCollectorDelegates) protected Map<String,
DependencyCollectorDelegate> getDependencyCollectorDelegates
(RemoteRepositoryManager remoteRepositoryManager, ArtifactDescriptorReader artifactDescriptorReader, VersionRangeResolver versionRangeResolver) protected Deployer
getDeployer
(FileProcessor fileProcessor, RepositoryEventDispatcher repositoryEventDispatcher, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, UpdateCheckManager updateCheckManager, Map<String, MetadataGeneratorFactory> metadataGeneratorFactories, SyncContextFactory syncContextFactory, OfflineController offlineController) protected FileProcessor
protected Installer
getInstaller
(FileProcessor fileProcessor, RepositoryEventDispatcher repositoryEventDispatcher, Map<String, MetadataGeneratorFactory> metadataGeneratorFactories, SyncContextFactory syncContextFactory) protected LocalPathComposer
protected LocalPathPrefixComposerFactory
protected LocalRepositoryProvider
getLocalRepositoryProvider
(LocalPathComposer localPathComposer, TrackingFileManager trackingFileManager, LocalPathPrefixComposerFactory localPathPrefixComposerFactory) protected Map<String,
MetadataGeneratorFactory> protected MetadataResolver
getMetadataResolver
(RepositoryEventDispatcher repositoryEventDispatcher, UpdateCheckManager updateCheckManager, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, SyncContextFactory syncContextFactory, OfflineController offlineController, RemoteRepositoryFilterManager remoteRepositoryFilterManager) protected org.apache.maven.model.building.ModelBuilder
protected org.apache.maven.repository.internal.ModelCacheFactory
protected Map<String,
NamedLockFactory> protected NamedLockFactoryAdapterFactory
getNamedLockFactoryAdapterFactory
(Map<String, NamedLockFactory> namedLockFactories, Map<String, NameMapper> nameMappers, RepositorySystemLifecycle repositorySystemLifecycle) protected Map<String,
NameMapper> protected OfflineController
protected Map<String,
ProvidedChecksumsSource> getProvidedChecksumsSources
(Map<String, TrustedChecksumsSource> trustedChecksumsSources) protected RemoteRepositoryFilterManager
getRemoteRepositoryFilterManager
(Map<String, RemoteRepositoryFilterSource> remoteRepositoryFilterSources) protected Map<String,
RemoteRepositoryFilterSource> getRemoteRepositoryFilterSources
(RepositorySystemLifecycle repositorySystemLifecycle, RepositoryLayoutProvider repositoryLayoutProvider) protected RemoteRepositoryManager
getRemoteRepositoryManager
(UpdatePolicyAnalyzer updatePolicyAnalyzer, ChecksumPolicyProvider checksumPolicyProvider) protected Map<String,
RepositoryConnectorFactory> getRepositoryConnectorFactories
(BasicRepositoryConnectorFactory basicRepositoryConnectorFactory) protected RepositoryConnectorProvider
getRepositoryConnectorProvider
(Map<String, RepositoryConnectorFactory> repositoryConnectorFactories, RemoteRepositoryFilterManager remoteRepositoryFilterManager) protected RepositoryEventDispatcher
getRepositoryEventDispatcher
(Map<String, RepositoryListener> repositoryListeners) protected Map<String,
RepositoryLayoutFactory> getRepositoryLayoutFactories
(ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector) protected RepositoryLayoutProvider
getRepositoryLayoutProvider
(Map<String, RepositoryLayoutFactory> repositoryLayoutFactories) protected Map<String,
RepositoryListener> protected RepositorySystemLifecycle
protected SyncContextFactory
getSyncContextFactory
(NamedLockFactoryAdapterFactory namedLockFactoryAdapterFactory) protected TrackingFileManager
protected Map<String,
TransporterFactory> getTransporterFactories
(Map<String, ChecksumExtractor> extractors) protected TransporterProvider
getTransporterProvider
(Map<String, TransporterFactory> transporterFactories) protected Map<String,
TrustedChecksumsSource> getTrustedChecksumsSources
(FileProcessor fileProcessor, LocalPathComposer localPathComposer, RepositorySystemLifecycle repositorySystemLifecycle) protected UpdateCheckManager
getUpdateCheckManager
(TrackingFileManager trackingFileManager, UpdatePolicyAnalyzer updatePolicyAnalyzer) protected UpdatePolicyAnalyzer
protected VersionRangeResolver
getVersionRangeResolver
(MetadataResolver metadataResolver, SyncContextFactory syncContextFactory, RepositoryEventDispatcher repositoryEventDispatcher, VersionScheme versionScheme) protected VersionResolver
getVersionResolver
(MetadataResolver metadataResolver, SyncContextFactory syncContextFactory, RepositoryEventDispatcher repositoryEventDispatcher) protected VersionScheme
-
Constructor Details
-
RepositorySystemSupplier
public RepositorySystemSupplier()
-
-
Method Details
-
getFileProcessor
-
getTrackingFileManager
-
getLocalPathComposer
-
getLocalPathPrefixComposerFactory
-
getRepositorySystemLifecycle
-
getOfflineController
-
getUpdatePolicyAnalyzer
-
getChecksumPolicyProvider
-
getUpdateCheckManager
protected UpdateCheckManager getUpdateCheckManager(TrackingFileManager trackingFileManager, UpdatePolicyAnalyzer updatePolicyAnalyzer) -
getNamedLockFactories
-
getNameMappers
-
getNamedLockFactoryAdapterFactory
protected NamedLockFactoryAdapterFactory getNamedLockFactoryAdapterFactory(Map<String, NamedLockFactory> namedLockFactories, Map<String, NameMapper> nameMappers, RepositorySystemLifecycle repositorySystemLifecycle) -
getSyncContextFactory
protected SyncContextFactory getSyncContextFactory(NamedLockFactoryAdapterFactory namedLockFactoryAdapterFactory) -
getChecksumAlgorithmFactories
-
getChecksumAlgorithmFactorySelector
protected ChecksumAlgorithmFactorySelector getChecksumAlgorithmFactorySelector(Map<String, ChecksumAlgorithmFactory> checksumAlgorithmFactories) -
getRepositoryLayoutFactories
protected Map<String,RepositoryLayoutFactory> getRepositoryLayoutFactories(ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector) -
getRepositoryLayoutProvider
protected RepositoryLayoutProvider getRepositoryLayoutProvider(Map<String, RepositoryLayoutFactory> repositoryLayoutFactories) -
getLocalRepositoryProvider
protected LocalRepositoryProvider getLocalRepositoryProvider(LocalPathComposer localPathComposer, TrackingFileManager trackingFileManager, LocalPathPrefixComposerFactory localPathPrefixComposerFactory) -
getRemoteRepositoryManager
protected RemoteRepositoryManager getRemoteRepositoryManager(UpdatePolicyAnalyzer updatePolicyAnalyzer, ChecksumPolicyProvider checksumPolicyProvider) -
getRemoteRepositoryFilterSources
protected Map<String,RemoteRepositoryFilterSource> getRemoteRepositoryFilterSources(RepositorySystemLifecycle repositorySystemLifecycle, RepositoryLayoutProvider repositoryLayoutProvider) -
getRemoteRepositoryFilterManager
protected RemoteRepositoryFilterManager getRemoteRepositoryFilterManager(Map<String, RemoteRepositoryFilterSource> remoteRepositoryFilterSources) -
getRepositoryListeners
-
getRepositoryEventDispatcher
protected RepositoryEventDispatcher getRepositoryEventDispatcher(Map<String, RepositoryListener> repositoryListeners) -
getTrustedChecksumsSources
protected Map<String,TrustedChecksumsSource> getTrustedChecksumsSources(FileProcessor fileProcessor, LocalPathComposer localPathComposer, RepositorySystemLifecycle repositorySystemLifecycle) -
getProvidedChecksumsSources
protected Map<String,ProvidedChecksumsSource> getProvidedChecksumsSources(Map<String, TrustedChecksumsSource> trustedChecksumsSources) -
getChecksumExtractors
-
getTransporterFactories
protected Map<String,TransporterFactory> getTransporterFactories(Map<String, ChecksumExtractor> extractors) -
getTransporterProvider
protected TransporterProvider getTransporterProvider(Map<String, TransporterFactory> transporterFactories) -
getBasicRepositoryConnectorFactory
protected BasicRepositoryConnectorFactory getBasicRepositoryConnectorFactory(TransporterProvider transporterProvider, RepositoryLayoutProvider repositoryLayoutProvider, ChecksumPolicyProvider checksumPolicyProvider, FileProcessor fileProcessor, Map<String, ProvidedChecksumsSource> providedChecksumsSources) -
getRepositoryConnectorFactories
protected Map<String,RepositoryConnectorFactory> getRepositoryConnectorFactories(BasicRepositoryConnectorFactory basicRepositoryConnectorFactory) -
getRepositoryConnectorProvider
protected RepositoryConnectorProvider getRepositoryConnectorProvider(Map<String, RepositoryConnectorFactory> repositoryConnectorFactories, RemoteRepositoryFilterManager remoteRepositoryFilterManager) -
getInstaller
protected Installer getInstaller(FileProcessor fileProcessor, RepositoryEventDispatcher repositoryEventDispatcher, Map<String, MetadataGeneratorFactory> metadataGeneratorFactories, SyncContextFactory syncContextFactory) -
getDeployer
protected Deployer getDeployer(FileProcessor fileProcessor, RepositoryEventDispatcher repositoryEventDispatcher, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, UpdateCheckManager updateCheckManager, Map<String, MetadataGeneratorFactory> metadataGeneratorFactories, SyncContextFactory syncContextFactory, OfflineController offlineController) -
getDependencyCollectorDelegates
protected Map<String,DependencyCollectorDelegate> getDependencyCollectorDelegates(RemoteRepositoryManager remoteRepositoryManager, ArtifactDescriptorReader artifactDescriptorReader, VersionRangeResolver versionRangeResolver) -
getDependencyCollector
protected DependencyCollector getDependencyCollector(Map<String, DependencyCollectorDelegate> dependencyCollectorDelegates) -
getArtifactResolverPostProcessors
protected Map<String,ArtifactResolverPostProcessor> getArtifactResolverPostProcessors(ChecksumAlgorithmFactorySelector checksumAlgorithmFactorySelector, Map<String, TrustedChecksumsSource> trustedChecksumsSources) -
getArtifactResolver
protected ArtifactResolver getArtifactResolver(FileProcessor fileProcessor, RepositoryEventDispatcher repositoryEventDispatcher, VersionResolver versionResolver, UpdateCheckManager updateCheckManager, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, SyncContextFactory syncContextFactory, OfflineController offlineController, Map<String, ArtifactResolverPostProcessor> artifactResolverPostProcessors, RemoteRepositoryFilterManager remoteRepositoryFilterManager) -
getMetadataResolver
protected MetadataResolver getMetadataResolver(RepositoryEventDispatcher repositoryEventDispatcher, UpdateCheckManager updateCheckManager, RepositoryConnectorProvider repositoryConnectorProvider, RemoteRepositoryManager remoteRepositoryManager, SyncContextFactory syncContextFactory, OfflineController offlineController, RemoteRepositoryFilterManager remoteRepositoryFilterManager) -
getVersionScheme
-
getMetadataGeneratorFactories
-
getArtifactDescriptorReader
protected ArtifactDescriptorReader getArtifactDescriptorReader(RemoteRepositoryManager remoteRepositoryManager, VersionResolver versionResolver, VersionRangeResolver versionRangeResolver, ArtifactResolver artifactResolver, org.apache.maven.model.building.ModelBuilder modelBuilder, RepositoryEventDispatcher repositoryEventDispatcher, org.apache.maven.repository.internal.ModelCacheFactory modelCacheFactory) -
getVersionResolver
protected VersionResolver getVersionResolver(MetadataResolver metadataResolver, SyncContextFactory syncContextFactory, RepositoryEventDispatcher repositoryEventDispatcher) -
getVersionRangeResolver
protected VersionRangeResolver getVersionRangeResolver(MetadataResolver metadataResolver, SyncContextFactory syncContextFactory, RepositoryEventDispatcher repositoryEventDispatcher, VersionScheme versionScheme) -
getModelBuilder
-
getModelCacheFactory
-
get
- Specified by:
get
in interfaceSupplier<RepositorySystem>
-