<virtual> new HostedComponent(sID, sDisplayName, sOrigin, sVersion, aaContractImplementations)
Parameters:
Name | Type | Description |
---|---|---|
sID |
string | The component's unique ID. |
sDisplayName |
string | The component's display name. |
sOrigin |
string | A string identifying the component that is constructing this component. |
sVersion |
string | The component's 3-part version number. |
aaContractImplementations |
Object[] | An associative array mapping a list of contracts to the objects that provide this component's implementation of those contracts. |
Extends
Methods
-
<protected> _doClearComponent()
-
Subclasses should implement this to get a callback when component is cleared. This will be called before hosted components are cleared.
-
<protected> _doCloseComponent()
-
Subclasses should implement this to get a callback when component is detached. This will be called before hosted components are detached.
-
<protected> _doDetachComponent()
-
Subclasses should implement this to get a callback when component is detached. This will be called before hosted components are detached.
-
<protected> _doStartComponent()
-
Subclasses should implement this to get a callback when component is started. This will be called before hosted components are started.
-
<protected> _doStopComponent()
-
Subclasses should implement this to get a callback when component is stopped. This will be called before hosted components are stopped.