| Package | ch.capi.net.app |
| Class | public class ApplicationContextRegisterer |
| Inheritance | ApplicationContextRegisterer Object |
IApplicationContext instances.
See also
| Method | Defined By | ||
|---|---|---|---|
enumerateAll():Array [static]
Enumerates all the IApplicationContext registered. | ApplicationContextRegisterer | ||
get(appCtxName:String):IApplicationContext [static]
Retrieves the specified IApplicationContext. | ApplicationContextRegisterer | ||
register(context:IApplicationContext):void [static]
Registers the specified IApplicationContext. | ApplicationContextRegisterer | ||
| enumerateAll | () | method |
public static function enumerateAll():Array
Enumerates all the IApplicationContext registered.
Array — An Array containing the names of the registered IApplicationContext.
|
| get | () | method |
public static function get(appCtxName:String):IApplicationContext
Retrieves the specified IApplicationContext.
Parameters
appCtxName:String — The name of the IApplicationContext.
|
IApplicationContext — The IApplicationContext or null if the specified
name doesn't exist.
|
| register | () | method |
public static function register(context:IApplicationContext):void
Registers the specified IApplicationContext. It must be named otherwise
a IllegalOperationError will be thrown.
Parameters
context:IApplicationContext — The IApplicationContext.
|
IllegalOperationError If — the IApplicationContext is not named.
| |
ch.capi.errors:DataError If — an IApplicationContext with the same name
already exists.
|