tmp: Revert "Fix #5959 update DiAbstractFactory canCreateServiceWithName"

This reverts commit 7c7d684003e1f63b453103f7947ef12492750d52.
Fix #5959 update DiAbstractFactory canCreateServiceWithName