Class avalon_context

Object
   |
   +--avalon_context

class avalon_context

JavaScript-port of avalon context interface. It has an additional has method (analog to the serviceManager interface).


 
Method Summary
 function get(key)
           returns the context entry with the specified key.
 function has(key)
           returns if there is a context entry with the specified key.

Method Detail

get

function get(key)
returns the context entry with the specified key.

Parameters:
key - the key-string.


Throws:
- ContextException, if theres no such entry.


has

function has(key)
returns if there is a context entry with the specified key.

Parameters:
key - the key-string.