Generic plug component associated with a single CA.
See module:caf_components/gen_plug for a discussion of the plug-in architecture in CAF.
- Source:
Extends
Members
__ca_isPlugCA__ :boolean
- Source:
Run-time type information.
Type:
- boolean
Methods
(static) create($, spec) → {Object}
- Source:
Helper constructor method for a CA plug component.
Description of types in file types.js
.
Parameters:
Name | Type | Description |
---|---|---|
$ |
ctxType | A context containing references to other components. |
spec |
specType | Configuration data for this component. |
Throws:
-
If inputs are invalid.
- Type
- Error
Returns:
A new generic component.
- Type
- Object
__ca_getCAName__() → {string}
- Source:
Returns the name of the CA that contains this plug.
Returns:
The name of the containing CA.
- Type
- string