javasisst AbstractApplicationContext modification for context registration. first step for rewire beans.