@Service(value="archivaRuntimeConfigurationService#rest") public class DefaultArchivaRuntimeConfigurationService extends AbstractRestService implements ArchivaRuntimeConfigurationService
Modifier and Type | Field and Description |
---|---|
private ArchivaRuntimeConfigurationAdmin |
archivaRuntimeConfigurationAdmin |
private FileLockManager |
fileLockManager |
private org.apache.archiva.redback.components.cache.Cache |
usersCache |
archivaAdministration, config, httpServletRequest, httpServletResponse, log, managedRepositoryAdmin, proxyConnectorAdmin, repositoryContentFactory, repositorySessionFactory, repositoryTaskScheduler, userRepositories
Constructor and Description |
---|
DefaultArchivaRuntimeConfigurationService() |
Modifier and Type | Method and Description |
---|---|
ArchivaRuntimeConfiguration |
getArchivaRuntimeConfiguration() |
Boolean |
updateArchivaRuntimeConfiguration(ArchivaRuntimeConfiguration archivaRuntimeConfiguration) |
buildArtifacts, doScanRepository, getArtifactUrl, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getModelMapper, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent
@Inject private ArchivaRuntimeConfigurationAdmin archivaRuntimeConfigurationAdmin
@Inject @Named(value="cache#url-failures-cache") private org.apache.archiva.redback.components.cache.Cache usersCache
@Inject @Named(value="fileLockManager#default") private FileLockManager fileLockManager
public DefaultArchivaRuntimeConfigurationService()
public ArchivaRuntimeConfiguration getArchivaRuntimeConfiguration() throws ArchivaRestServiceException
getArchivaRuntimeConfiguration
in interface ArchivaRuntimeConfigurationService
ArchivaRestServiceException
public Boolean updateArchivaRuntimeConfiguration(ArchivaRuntimeConfiguration archivaRuntimeConfiguration) throws ArchivaRestServiceException
updateArchivaRuntimeConfiguration
in interface ArchivaRuntimeConfigurationService
ArchivaRestServiceException
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.