org.nuxeo.ecm.admin
Class SystemInfoManager
java.lang.Object
org.nuxeo.ecm.admin.SystemInfoManager
- All Implemented Interfaces:
- Serializable
@Name(value="systemInfo")
@Scope(value=CONVERSATION)
public class SystemInfoManager
- extends Object
- implements Serializable
Seam Bean to export System info.
- See Also:
- Serialized Form
SystemInfoManager
public SystemInfoManager()
getHostInfo
public String getHostInfo()
getUptime
public String getUptime()
getNuxeoPlatformIdentifier
@Factory(value="nuxeoPlatformIdentifier",
scope=APPLICATION)
public String getNuxeoPlatformIdentifier()
getNuxeoServerInfo
@Factory(value="nuxeoServerInfo",
scope=EVENT)
public SimplifiedServerInfo getNuxeoServerInfo()
isBundleDeployed
public boolean isBundleDeployed(String bundleId)
isMultiRepo
public boolean isMultiRepo()
throws Exception
- Throws:
Exception
listAvailableRepositories
public List<Repository> listAvailableRepositories()
throws Exception
- Throws:
Exception
getCurrentRepositoryName
public String getCurrentRepositoryName()
throws Exception
- Throws:
Exception
setCurrentRepositoryName
public void setCurrentRepositoryName(String name)
throws Exception
- Throws:
Exception
getOpenSessionNumber
public int getOpenSessionNumber()
getActiveSessionNumber
public int getActiveSessionNumber()
startRepoStats
public void startRepoStats()
throws Exception
- Throws:
Exception
isStatInfoInProgress
public boolean isStatInfoInProgress()
isStatInfoAvailable
public boolean isStatInfoAvailable()
getStatInfo
@Factory(value="repoStatResult",
scope=EVENT)
public RepoStatInfo getStatInfo()
getRepoUsage
public String getRepoUsage()
throws Exception
- Throws:
Exception
restartServer
public String restartServer()
setBinariesGCDelete
public void setBinariesGCDelete(boolean binariesGCDelete)
getBinariesGCDelete
public boolean getBinariesGCDelete()
getBinariesWereDeleted
public boolean getBinariesWereDeleted()
startBinariesGC
public void startBinariesGC()
isBinariesGCInProgress
public boolean isBinariesGCInProgress()
isBinaryManagerStatusAvailable
public boolean isBinaryManagerStatusAvailable()
getBinaryManagerStatus
@Factory(value="binaryManagerStatus",
scope=EVENT)
public BinaryManagerStatus getBinaryManagerStatus()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.