Changed the argument order of createDependencyManagedHandlerFactory.