@Named @Singleton public class DefaultVersionResolver extends Object implements VersionResolver, Service
Constructor and Description |
---|
DefaultVersionResolver() |
Modifier and Type | Method and Description |
---|---|
void |
initService(ServiceLocator locator) |
VersionResult |
resolveVersion(RepositorySystemSession session,
VersionRequest request) |
DefaultVersionResolver |
setLoggerFactory(LoggerFactory loggerFactory) |
DefaultVersionResolver |
setMetadataResolver(MetadataResolver metadataResolver) |
DefaultVersionResolver |
setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher) |
DefaultVersionResolver |
setSyncContextFactory(SyncContextFactory syncContextFactory) |
public void initService(ServiceLocator locator)
initService
in interface Service
public DefaultVersionResolver setLoggerFactory(LoggerFactory loggerFactory)
public DefaultVersionResolver setMetadataResolver(MetadataResolver metadataResolver)
public DefaultVersionResolver setSyncContextFactory(SyncContextFactory syncContextFactory)
public DefaultVersionResolver setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher)
public VersionResult resolveVersion(RepositorySystemSession session, VersionRequest request) throws VersionResolutionException
resolveVersion
in interface VersionResolver
VersionResolutionException
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.