ServiceFactory supports lifecycle.