Service
Service
The Service
class is an in-memory implementation of the pentaho.config.IService
interface.
Extends
Implements
Constructor
Name | Description |
---|---|
new Service(environment) Static | Creates a configuration service instance for a given environment. |
Members
Name | Description |
---|---|
__environment : | The environment used to select configuration rules. |
base : Protected | If a method has been overridden, then the base method provides access to the overridden method. |
selectAsync | Selects, asynchronously, the configuration of a module given its identifier. |
Methods
Name | Description |
---|---|
add(ruleSet) | Adds a configuration rule set. |
addRule(rule, contextId) | Adds a configuration rule. |
extend(source, keyArgs) : Object | Extend an object with the properties of another. |
Constructor Details
new Service(environment) Static | ||||||
---|---|---|---|---|---|---|
Creates a configuration service instance for a given environment. Source: javascript/web/pentaho/_core/config/Service.js, line 79
|
Members Details
__environment: |
---|
The environment used to select configuration rules. Source: javascript/web/pentaho/_core/config/Service.js, line 86 |
base: Protected |
---|
If a method has been overridden, then the base method provides access to the overridden method. Can also be called from within a constructor function. Source: javascript/web/pentaho/lang/Base.js, line 299 Inherited From: pentaho.lang.Base#base |
selectAsync: |
---|
Selects, asynchronously, the configuration of a module given its identifier. |
Methods Details
add(ruleSet) | ||||||
---|---|---|---|---|---|---|
Adds a configuration rule set. Source: javascript/web/pentaho/_core/config/Service.js, line 103
|
addRule(rule, contextId) | |||||||||
---|---|---|---|---|---|---|---|---|---|
Adds a configuration rule. The insertion order is used as the fallback rule order. For more information on the specificity of rules, see Note that the specified rule object may be slightly modified to serve the service's internal needs. Source: javascript/web/pentaho/_core/config/Service.js, line 132
|
extend(source, keyArgs) : Object | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Extend an object with the properties of another. Methods that are overridden are accessible through This object is extended, but its class doesn't change. Source: javascript/web/pentaho/lang/Base.js, line 1037 Inherited From: pentaho.lang.Base#extend
|