module
pentaho. module
The module
namespace contains the types of the Pentaho Modules API.
Source: doc-js/pentaho/module/_namespace.jsdoc, line 19
Child Namespaces
Name | Summary |
---|---|
impl | The |
spec | The |
util | The |
Interfaces
Name | Summary |
---|---|
IInstanceMeta | The |
IMeta | The |
IMetaService | The |
IService | The |
ITypeMeta | The |
Members
Name | Description |
---|---|
instanceOf : | The |
instancesOf : | The |
metaOf : | The |
metaService | The main modules metadata service of the Pentaho Modules API. |
service | The main modules service of the Pentaho Modules API. |
subtypeOf : | The |
subtypesOf : | The |
Members Details
instanceOf: |
---|
The AMD Plugin Usage:
Example The following AMD/RequireJS configuration registers two instances,
Later, some other component can request for a registered instance of the type
The highest ranking instance is chosen. Source: javascript/web/pentaho/module/instanceOf.js, line 22 See also: pentaho.module.service , pentaho.module.IService#getInstanceOfAsync |
instancesOf: |
---|
The AMD Plugin Usage:
Example The following AMD/RequireJS configuration registers two instances,
Later, some other component can request for all registered instances of the type Source: javascript/web/pentaho/module/instancesOf.js, line 22 See also: pentaho.module.service , pentaho.module.IService#getInstancesOfAsync |
metaOf: |
---|
The If the requested module is not defined (through AMD Plugin Usage:
Source: javascript/web/pentaho/module/metaOf.js, line 31 See also: pentaho.module.IMeta , pentaho.module.metaService , pentaho.module.IMetaService#get Example// Obtain the self module. define(["pentaho/module!_"], function(module) { if(module.config) { // Do something. } }); |
metaService: |
---|
The main modules metadata service of the Pentaho Modules API. If instead of the metadata of modules, the modules themselves are needed, use
The modules metadata service is first initialized with the AMD configuration of the Source: javascript/web/pentaho/module/metaService.js, line 22 |
service: |
---|
The main modules service of the Pentaho Modules API. To obtain the values of modules as a dependency of an AMD/RequireJS module, use one of the following AMD loader plugins instead:
Source: javascript/web/pentaho/module/service.js, line 22 See also: pentaho.module.metaService |
subtypeOf: |
---|
The AMD Plugin Usage:
Example The following AMD/RequireJS configuration registers two subtypes,
Later, some other component can request for a registered subtype of the type
The highest ranking subtype is chosen. Source: javascript/web/pentaho/module/subtypeOf.js, line 22 See also: pentaho.module.service , pentaho.module.IService#getSubtypeOfAsync |
subtypesOf: |
---|
The AMD Plugin Usage:
Example The following AMD/RequireJS configuration registers two subtypes,
Later, some other component can request for all registered subtypes of the type Source: javascript/web/pentaho/module/subtypesOf.js, line 22 See also: pentaho.module.service , pentaho.module.IService#getSubtypesOfAsync |