org.apache.archiva.web.api
Class DefaultRuntimeInfoService
java.lang.Object
org.apache.archiva.web.api.DefaultRuntimeInfoService
- All Implemented Interfaces:
- RuntimeInfoService
@Service(value="runtimeInfoService#rest")
public class DefaultRuntimeInfoService
- extends Object
- implements RuntimeInfoService
- Author:
- Olivier Lamy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i18nLogger
private org.slf4j.Logger i18nLogger
archivaRuntimeInfo
private ArchivaRuntimeInfo archivaRuntimeInfo
redbackRuntimeConfigurationService
@Inject
private RedbackRuntimeConfigurationService redbackRuntimeConfigurationService
httpServletRequest
@Context
protected javax.servlet.http.HttpServletRequest httpServletRequest
DefaultRuntimeInfoService
@Inject
public DefaultRuntimeInfoService(ArchivaRuntimeInfo archivaRuntimeInfo)
getApplicationRuntimeInfo
public ApplicationRuntimeInfo getApplicationRuntimeInfo(String locale)
throws ArchivaRestServiceException
- Specified by:
getApplicationRuntimeInfo
in interface RuntimeInfoService
- Throws:
ArchivaRestServiceException
getBaseUrl
protected String getBaseUrl(javax.servlet.http.HttpServletRequest req)
logMissingI18n
public Boolean logMissingI18n(String key)
- Specified by:
logMissingI18n
in interface RuntimeInfoService
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.