added two new resolvertypes customResolver and ContextResolver