In this case, name is not necessary for it to find the contexts for the given type.  While locateApplicationContext returns only a single result, locateContexts returns multiple results.