CFIDE.adminapi.runtime
Component runtime (runtime)
Manages runtime settings for fonts, cache, charts, configuration, and other settings.
| hierarchy: | WEB-INF.cftags.component CFIDE.adminapi.base CFIDE.adminapi.runtime |
| path: | {web-root}\CFIDE\adminapi\runtime.cfc |
| serializable: | Yes |
| properties: | |
| methods: | backup*, clearComponentCache, clearTrustedCache, deleteClientStore, deleteFont, executeClassPath*, getCacheProperty, getChartProperty, getClientStores, getFonts, getJvmProperty, getLastClientID, getOption*, getOptionList*, getPath, getProps*, getRuntimeProperty, getScopeProperty, saveJvmConfig*, setCacheProperty, setChartProperty, setClientStore, setFont, setJvmConfig*, setJvmProperty, setLastClientID, setRuntimeProperty, setScopeProperty, splitargs*, stopApplication |
| inherited methods: | dump, getEdition, getInstallType, getJRunRootDir, isAdminUser, RDSInvoker, setJrunSN |
* – private method
| backup* |
|---|
private void backup ( daFile
Creates a backup (.bak) version of the specified file. Output: suppressed |
| clearComponentCache |
void clearComponentCache (
Clears the Component cache. Output: suppressed |
| clearTrustedCache |
void clearTrustedCache ( templateList=""
Clears the template cache. Output: suppressed |
| deleteClientStore |
public deleteClientStore ( required string name
Removes a data source type of client variable store. Available only for users in one of the roles: admin |
| deleteFont |
public deleteFont ( required fontFile
Deletes a font from the ColdFusion list of registered fonts. Output: |
| executeClassPath* |
private executeClassPath ( required name
Executes the named executable process with the specified classpath setting. Output: |
| getCacheProperty |
public any getCacheProperty ( required propertyName
Returns the value of a ColdFusion cache property setting. Output: suppressed
|
| getChartProperty |
public any getChartProperty ( required propertyName
Returns the value of a Charting property. Output: suppressed
|
| getClientStores |
public getClientStores ( string name
Returns a specific client data store or a list of client data stores. Available only for users in one of the roles: admin |
| getFonts |
public struct getFonts ( fontFamily
Returns font information (family, face, type, use, path) for all fonts or for a specified font. Output: suppressed |
| getJvmProperty |
public any getJvmProperty ( required propertyName
Returns the value of a Java Virtual Machine (JVM) property. Output: suppressed
|
| getLastClientID |
public numeric getLastClientID (
Returns the ID for the last client. Available only for users in one of the roles: admin |
| getOption* |
private getOption ( required option
Returns the value of a specified JVM option. Output: |
| getOptionList* |
private getOptionList ( required vmArgs
Splits JVM arguments into a list that can be handled one by one. Output: |
| getPath |
public getPath ( required path, required type
Filters the classpath to replace ‘;’ and ‘:\\’ with commas, specifying whether to remove or return ColdFusion-only items. Output: suppressed |
| getProps* |
private getProps (
Returns the Java configuration properties (server configuration only). Output: |
| getRuntimeProperty |
public any getRuntimeProperty ( required propertyName
Returns the value of a ColdFusion performance property setting. Output: suppressed
|
| getScopeProperty |
public any getScopeProperty ( required propertyName
Returns the value of a scope property. Output: suppressed
|
| saveJvmConfig* |
private saveJvmConfig (
Saves the JVM configuration setting to the jvm.config file (server configuration only). Output: |
| setCacheProperty |
public void setCacheProperty ( required propertyName, required propertyValue
Sets the value of a ColdFusion cache property setting. Output: suppressed
propertyValue: any, required, propertyValue – Value to set for the specified property. |
| setChartProperty |
public void setChartProperty ( required propertyName, required propertyValue
Sets the value of a Charting property. Output: suppressed
propertyValue: any, required, propertyValue – Value to set for the specified property. |
| setClientStore |
public setClientStore ( required string description, required boolean disable_globals, required string name, required boolean purge, required numeric timeout, required string type, string dsn=""
Sets the properties of a client data store. Available only for users in one of the roles: admin
purge: boolean, required, purge – Set to have ColdFusion periodically purge client data that has not been accessed in the specified number of days – true/false |
| setFont |
public setFont ( required fontFile
Adds a new font and registers it with ColdFusion. Output: suppressed |
| setJvmConfig* |
private void setJvmConfig ( minHeapArg="[runtime expression]", maxHeapArg="[runtime expression]", jvmArgs="[runtime expression]"
Sets JVM arguments in the JRun jvm.config file (server configuration only). Output: suppressed |
| setJvmProperty |
public void setJvmProperty ( required propertyName, required propertyValue
Sets the value of a Java Virtual Machine property. Output: suppressed
propertyValue: any, required, propertyValue – The value to set for the specified property. |
| setLastClientID |
public void setLastClientID ( required numeric lastid
Stores the ID of the last client to visit the site. Available only for users in one of the roles: admin |
| setRuntimeProperty |
public void setRuntimeProperty ( required propertyName, required propertyValue
Sets the value of a ColdFusion performance property. Output: suppressed
propertyValue: any, required, propertyValue – Value to set for the specified property. |
| setScopeProperty |
public void setScopeProperty ( required propertyName, required propertyValue
Sets the value of a scope property. Output: suppressed
propertyValue: any, required, propertyValue – Value to set for the specified property. |
| splitargs* |
private splitargs ( required string
Splits a list of string arguments into an array. Output: |
| stopApplication |
void stopApplication ( required appName
Stops the named application. Output: suppressed |