added static non-generic AppDomainContext to maintain factory method backward compatibility.