akserg/dojo-ioc — Issue #2: Add initialisation method description to definition
Author: akserg
Created: 2012-02-21 07:24:28+00:00
State: open

Initialisation method in definition must be called after finish class instantiation and assigning all properties. By default it must has name 'postInit' but might be changed in definition. It has two forms:
- simple. Contains only method name:

"authenticationService" : {
...
postInit : "otherInit"
}

- full. Contains object with method name ("name") and arguments ("args"):

"authenticationService" : {
...
postInit : {
"name" : "otherInit",
"args" : [list_of_arguments]
}