Package org.openiam.srvc.common
Class SystemInfoWebServiceImpl
- java.lang.Object
-
- org.openiam.srvc.common.SystemInfoWebServiceImpl
-
- All Implemented Interfaces:
SystemInfoWebService
,org.springframework.beans.factory.Aware
,org.springframework.web.context.ServletContextAware
@Service("systemInfoWS") public class SystemInfoWebServiceImpl extends Object implements SystemInfoWebService, org.springframework.web.context.ServletContextAware
-
-
Constructor Summary
Constructors Constructor Description SystemInfoWebServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getJarManifestInfo(String resName, String attrName)
String
getJavaInfo(String param)
String
getMemInfo(String param)
String
getOsInfo(String param)
String
getProjectVersion()
String
getWarManifestInfo(String attrName)
Boolean
isDevelopmentMode()
Boolean
isLinux()
Boolean
isWindows()
void
setServletContext(javax.servlet.ServletContext servletContext)
-
-
-
Method Detail
-
isDevelopmentMode
public Boolean isDevelopmentMode()
- Specified by:
isDevelopmentMode
in interfaceSystemInfoWebService
-
getWarManifestInfo
public String getWarManifestInfo(String attrName)
- Specified by:
getWarManifestInfo
in interfaceSystemInfoWebService
-
getJarManifestInfo
public String getJarManifestInfo(String resName, String attrName)
- Specified by:
getJarManifestInfo
in interfaceSystemInfoWebService
-
getOsInfo
public String getOsInfo(String param)
- Specified by:
getOsInfo
in interfaceSystemInfoWebService
-
getJavaInfo
public String getJavaInfo(String param)
- Specified by:
getJavaInfo
in interfaceSystemInfoWebService
-
getMemInfo
public String getMemInfo(String param)
- Specified by:
getMemInfo
in interfaceSystemInfoWebService
-
isWindows
public Boolean isWindows()
- Specified by:
isWindows
in interfaceSystemInfoWebService
-
isLinux
public Boolean isLinux()
- Specified by:
isLinux
in interfaceSystemInfoWebService
-
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Specified by:
setServletContext
in interfaceorg.springframework.web.context.ServletContextAware
-
getProjectVersion
public String getProjectVersion()
- Specified by:
getProjectVersion
in interfaceSystemInfoWebService
-
-