|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.system.SystemManagerBean
public class SystemManagerBean
| Constructor Summary | |
|---|---|
SystemManagerBean()
|
|
| Method Summary | |
|---|---|
long |
analyze(org.rhq.core.domain.auth.Subject whoami)
Run analyze command on PostgreSQL databases. |
void |
dumpSystemInfo(org.rhq.core.domain.auth.Subject subject)
|
void |
enableHibernateStatistics()
Creates and registers the Hibernate Statistics MBean. |
DatabaseType |
getDatabaseType()
Returns the DatabaseType that corresponds to the database the JON Server uses for its backend. |
org.rhq.core.domain.common.ProductInfo |
getProductInfo(org.rhq.core.domain.auth.Subject subject)
Provides product information suitable for "About" details. |
org.rhq.core.domain.common.ServerDetails |
getServerDetails(org.rhq.core.domain.auth.Subject subject)
Provides details (such as product version) of the server processing the request. |
Properties |
getSystemConfiguration(org.rhq.core.domain.auth.Subject subject)
Deprecated. |
org.rhq.core.domain.common.composite.SystemSettings |
getSystemSettings(org.rhq.core.domain.auth.Subject subject)
Get the server cloud configuration. |
boolean |
isDebugModeEnabled()
|
boolean |
isExperimentalFeaturesEnabled()
|
boolean |
isLdapAuthorizationEnabled()
|
void |
loadSystemConfigurationCache()
Grabs the current system configuration from the database and reloads the cache with it. |
void |
loadSystemConfigurationCacheInNewTx()
Grabs the current system configuration from the database and reloads the cache with it. |
void |
reconfigureSystem(org.rhq.core.domain.auth.Subject whoami)
Performs some reconfiguration things on the server where we are running. |
long |
reindex(org.rhq.core.domain.auth.Subject whoami)
Reindexes all tables that need to be periodically reindexed. |
void |
reloadConfigCache(javax.ejb.Timer timer)
|
void |
scheduleConfigCacheReloader()
Schedules the internal timer job that periodically refreshes the configuration cache. |
void |
setSystemConfiguration(org.rhq.core.domain.auth.Subject subject,
Properties properties,
boolean skipValidation)
Deprecated. |
void |
setSystemSettings(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.common.composite.SystemSettings settings)
Set the server cloud configuration. |
void |
undeployInstaller()
Ensures the installer is no longer deployed. |
long |
vacuum(org.rhq.core.domain.auth.Subject whoami)
Run database-specific cleanup routines. |
long |
vacuum(org.rhq.core.domain.auth.Subject whoami,
String[] tableNames)
Run database-specific cleanup routines for the given tables. |
long |
vacuumAppdef(org.rhq.core.domain.auth.Subject whoami)
Run database-specific cleanup routines on appdef tables. |
void |
validateSystemConfiguration(org.rhq.core.domain.auth.Subject subject,
Properties properties)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemManagerBean()
| Method Detail |
|---|
public void scheduleConfigCacheReloader()
SystemManagerLocal
scheduleConfigCacheReloader in interface SystemManagerLocalpublic void reloadConfigCache(javax.ejb.Timer timer)
public DatabaseType getDatabaseType()
SystemManagerLocalDatabaseType that corresponds to the database the JON Server uses for its backend.
This method is mainly to allow the caller to determine the kind of database in use so as to determine what syntax to use for a particular native query.
getDatabaseType in interface SystemManagerLocal@Deprecated public Properties getSystemConfiguration(org.rhq.core.domain.auth.Subject subject)
getSystemConfiguration in interface SystemManagerLocalgetSystemConfiguration in interface SystemManagerRemotepublic org.rhq.core.domain.common.composite.SystemSettings getSystemSettings(org.rhq.core.domain.auth.Subject subject)
SystemManagerRemote
getSystemSettings in interface SystemManagerLocalgetSystemSettings in interface SystemManagerRemotesubject - user making the request
public void setSystemSettings(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.common.composite.SystemSettings settings)
SystemManagerRemote
setSystemSettings in interface SystemManagerLocalsetSystemSettings in interface SystemManagerRemotesubject - the user who wants to change the settingssettings - the new system configuration settingspublic void loadSystemConfigurationCacheInNewTx()
SystemManagerLocal#getSystemConfiguration()
instead.
loadSystemConfigurationCacheInNewTx in interface SystemManagerLocalpublic void loadSystemConfigurationCache()
SystemManagerLocal#getSystemConfiguration()
instead.
loadSystemConfigurationCache in interface SystemManagerLocal
@Deprecated
public void setSystemConfiguration(org.rhq.core.domain.auth.Subject subject,
Properties properties,
boolean skipValidation)
throws Exception
setSystemConfiguration in interface SystemManagerLocalsetSystemConfiguration in interface SystemManagerRemoteException
public void validateSystemConfiguration(org.rhq.core.domain.auth.Subject subject,
Properties properties)
throws InvalidSystemConfigurationException
validateSystemConfiguration in interface SystemManagerLocalInvalidSystemConfigurationExceptionpublic void enableHibernateStatistics()
SystemManagerLocal
enableHibernateStatistics in interface SystemManagerLocalpublic void reconfigureSystem(org.rhq.core.domain.auth.Subject whoami)
SystemManagerLocal
reconfigureSystem in interface SystemManagerLocalpublic long analyze(org.rhq.core.domain.auth.Subject whoami)
SystemManagerLocal
analyze in interface SystemManagerLocalwhoami - the user requesting the operation
public long reindex(org.rhq.core.domain.auth.Subject whoami)
SystemManagerLocal
reindex in interface SystemManagerLocalwhoami - the user requesting the operation
public long vacuum(org.rhq.core.domain.auth.Subject whoami)
SystemManagerLocal
vacuum in interface SystemManagerLocalwhoami - the user requesting the operation
public long vacuum(org.rhq.core.domain.auth.Subject whoami,
String[] tableNames)
SystemManagerLocal
vacuum in interface SystemManagerLocalwhoami - the user requesting the operationtableNames - names of specific tables that will be vacuumed.
public long vacuumAppdef(org.rhq.core.domain.auth.Subject whoami)
SystemManagerLocal
vacuumAppdef in interface SystemManagerLocalwhoami - the user requesting the operation
public void undeployInstaller()
undeployInstaller in interface SystemManagerLocalpublic boolean isDebugModeEnabled()
isDebugModeEnabled in interface SystemManagerLocalpublic boolean isExperimentalFeaturesEnabled()
isExperimentalFeaturesEnabled in interface SystemManagerLocalpublic boolean isLdapAuthorizationEnabled()
isLdapAuthorizationEnabled in interface SystemManagerLocalpublic org.rhq.core.domain.common.ServerDetails getServerDetails(org.rhq.core.domain.auth.Subject subject)
SystemManagerRemote
getServerDetails in interface SystemManagerLocalgetServerDetails in interface SystemManagerRemotesubject - user making the request
public org.rhq.core.domain.common.ProductInfo getProductInfo(org.rhq.core.domain.auth.Subject subject)
SystemManagerRemote
getProductInfo in interface SystemManagerLocalgetProductInfo in interface SystemManagerRemotesubject - user making the request
public void dumpSystemInfo(org.rhq.core.domain.auth.Subject subject)
dumpSystemInfo in interface SystemManagerLocal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||