Hemi JavaScript Framework
Hemi.driver
Description
The Application Driver is a bootstrap for leveraging browser load and unload events to start and stop the framework.
Class Index
static Hemi.driver.service
version 3.1.0
Static implementation of serviceImpl.
Hemi.driver.service
version 3.1.0
Driver for starting up and shutting down the framework.
Index
Method Index
- private _terminate (internal): Publishes a destroy message to all subscribing objects.
- public destroy: Destroys this object, and if specified, sends a termination signal to all registered objects.
- public getConfig: Returns a org.cote.js.util.config object.
- public setConfig: Specifies the application configuration object. Causes the application_config_loaded message to be published.
- public sigterm: Sends termination signal to destroy object without propogating termination signal to other objects.
Methods
_terminate
Publishes a destroy message to all subscribing objects. Method is private and should not be directly referenced.
Syntax
void _terminate(
)
destroy
Destroys this object, and if specified, sends a termination signal to all registered objects.
Syntax
void destroy(
b
)
Parameters
- b as boolean : Bit indicating whether a termination signal should be sent to all registered objects.
getConfig
Returns a org.cote.js.util.config object.
Syntax
c = getConfig(
)
Returns
c as org.cote.js.util.config: Config object.
setConfig
Specifies the application configuration object. Causes the application_config_loaded message to be published.
Syntax
void setConfig(
c
)
Parameters
- c as org.cote.js.util.config : Config object.
sigterm
Sends termination signal to destroy object without propogating termination signal to other objects.
Syntax
void sigterm(
)
[ Hemi JavaScript Framework - Stephen W. Cote, 2002 - 2009. ]