|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SystemManagerLocal
Provides access to the server cloud's system configuration as well as some methods to perform configuration on the server in which this bean is running.
| 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)
|
org.rhq.core.domain.common.ServerDetails |
getServerDetails(org.rhq.core.domain.auth.Subject subject)
|
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)
|
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 |
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)
|
void |
undeployInstaller()
Ensures the installer has been undeployed. |
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)
|
| Method Detail |
|---|
DatabaseType getDatabaseType()
DatabaseType 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.
void scheduleConfigCacheReloader()
void enableHibernateStatistics()
void reconfigureSystem(org.rhq.core.domain.auth.Subject whoami)
long analyze(org.rhq.core.domain.auth.Subject whoami)
whoami - the user requesting the operation
long reindex(org.rhq.core.domain.auth.Subject whoami)
whoami - the user requesting the operation
long vacuum(org.rhq.core.domain.auth.Subject whoami)
whoami - the user requesting the operation
long vacuum(org.rhq.core.domain.auth.Subject whoami,
String[] tableNames)
whoami - the user requesting the operationtableNames - names of specific tables that will be vacuumed.
long vacuumAppdef(org.rhq.core.domain.auth.Subject whoami)
whoami - the user requesting the operation
void undeployInstaller()
void loadSystemConfigurationCacheInNewTx()
#getSystemConfiguration()
instead.
void loadSystemConfigurationCache()
#getSystemConfiguration()
instead.
boolean isDebugModeEnabled()
boolean isExperimentalFeaturesEnabled()
boolean isLdapAuthorizationEnabled()
void validateSystemConfiguration(org.rhq.core.domain.auth.Subject subject,
Properties properties)
throws InvalidSystemConfigurationException
InvalidSystemConfigurationExceptionorg.rhq.core.domain.common.ProductInfo getProductInfo(org.rhq.core.domain.auth.Subject subject)
org.rhq.core.domain.common.ServerDetails getServerDetails(org.rhq.core.domain.auth.Subject subject)
org.rhq.core.domain.common.composite.SystemSettings getSystemSettings(org.rhq.core.domain.auth.Subject subject)
void setSystemSettings(org.rhq.core.domain.auth.Subject subject,
org.rhq.core.domain.common.composite.SystemSettings settings)
throws Exception
Exception@Deprecated Properties getSystemConfiguration(org.rhq.core.domain.auth.Subject subject)
@Deprecated
void setSystemConfiguration(org.rhq.core.domain.auth.Subject subject,
Properties properties,
boolean skipValidation)
throws Exception
Exceptionvoid dumpSystemInfo(org.rhq.core.domain.auth.Subject subject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||