public class SystemManagerBean extends Object implements SystemManagerLocal, SystemManagerRemote
| Constructor and Description |
|---|
SystemManagerBean() |
| Modifier and Type | Method and Description |
|---|---|
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()
Deprecated.
|
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) |
public void scheduleConfigCacheReloader()
SystemManagerLocalscheduleConfigCacheReloader 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)
SystemManagerRemotegetSystemSettings in interface SystemManagerLocalgetSystemSettings in interface SystemManagerRemotesubject - user making the requestpublic void setSystemSettings(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.common.composite.SystemSettings settings)
SystemManagerRemotesetSystemSettings 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 SystemManagerRemoteExceptionpublic void validateSystemConfiguration(org.rhq.core.domain.auth.Subject subject,
Properties properties)
throws InvalidSystemConfigurationException
validateSystemConfiguration in interface SystemManagerLocalInvalidSystemConfigurationExceptionpublic void enableHibernateStatistics()
SystemManagerLocalenableHibernateStatistics in interface SystemManagerLocalpublic void reconfigureSystem(org.rhq.core.domain.auth.Subject whoami)
SystemManagerLocalreconfigureSystem in interface SystemManagerLocalpublic long analyze(org.rhq.core.domain.auth.Subject whoami)
SystemManagerLocalanalyze in interface SystemManagerLocalwhoami - the user requesting the operationpublic long reindex(org.rhq.core.domain.auth.Subject whoami)
SystemManagerLocalreindex in interface SystemManagerLocalwhoami - the user requesting the operationpublic long vacuum(org.rhq.core.domain.auth.Subject whoami)
SystemManagerLocalvacuum in interface SystemManagerLocalwhoami - the user requesting the operationpublic long vacuum(org.rhq.core.domain.auth.Subject whoami,
String[] tableNames)
SystemManagerLocalvacuum 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)
SystemManagerLocalvacuumAppdef in interface SystemManagerLocalwhoami - the user requesting the operation@Deprecated 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)
SystemManagerRemotegetServerDetails in interface SystemManagerLocalgetServerDetails in interface SystemManagerRemotesubject - user making the requestpublic org.rhq.core.domain.common.ProductInfo getProductInfo(org.rhq.core.domain.auth.Subject subject)
SystemManagerRemotegetProductInfo in interface SystemManagerLocalgetProductInfo in interface SystemManagerRemotesubject - user making the requestpublic void dumpSystemInfo(org.rhq.core.domain.auth.Subject subject)
dumpSystemInfo in interface SystemManagerLocalCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.