@Named @Singleton public class DefaultVersionRangeResolver extends Object implements VersionRangeResolver, Service
Constructor and Description |
---|
DefaultVersionRangeResolver() |
Modifier and Type | Method and Description |
---|---|
void |
initService(ServiceLocator locator) |
VersionRangeResult |
resolveVersionRange(RepositorySystemSession session,
VersionRangeRequest request) |
DefaultVersionRangeResolver |
setMetadataResolver(MetadataResolver metadataResolver) |
DefaultVersionRangeResolver |
setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher) |
DefaultVersionRangeResolver |
setSyncContextFactory(SyncContextFactory syncContextFactory) |
public void initService(ServiceLocator locator)
initService
in interface Service
public DefaultVersionRangeResolver setMetadataResolver(MetadataResolver metadataResolver)
public DefaultVersionRangeResolver setSyncContextFactory(SyncContextFactory syncContextFactory)
public DefaultVersionRangeResolver setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher)
public VersionRangeResult resolveVersionRange(RepositorySystemSession session, VersionRangeRequest request) throws VersionRangeResolutionException
resolveVersionRange
in interface VersionRangeResolver
VersionRangeResolutionException
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.