Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.admin
Class SystemInfoManager

java.lang.Object
  extended by 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

Nested Class Summary
 class SystemInfoManager.BinariesGCTask
           
 
Constructor Summary
SystemInfoManager()
           
 
Method Summary
 int getActiveSessionNumber()
           
 boolean getBinariesGCDelete()
           
 boolean getBinariesWereDeleted()
           
 BinaryManagerStatus getBinaryManagerStatus()
           
 String getCurrentRepositoryName()
           
 String getHostInfo()
           
 String getNuxeoPlatformIdentifier()
           
 SimplifiedServerInfo getNuxeoServerInfo()
           
 int getOpenSessionNumber()
           
 String getRepoUsage()
           
 RepoStatInfo getStatInfo()
           
 String getUptime()
           
 boolean isBinariesGCInProgress()
           
 boolean isBinaryManagerStatusAvailable()
           
 boolean isBundleDeployed(String bundleId)
           
 boolean isMultiRepo()
           
 boolean isStatInfoAvailable()
           
 boolean isStatInfoInProgress()
           
 List<Repository> listAvailableRepositories()
           
 String restartServer()
           
 void setBinariesGCDelete(boolean binariesGCDelete)
           
 void setCurrentRepositoryName(String name)
           
 void startBinariesGC()
           
 void startRepoStats()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemInfoManager

public SystemInfoManager()
Method Detail

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()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.