refactoring by AgsApplicationContext: adding contices
Authored by: weedlight 2015-04-02
Parent: [r2149]