Use the DependencyInjectionApplicationFactory inside the ConcreteDependencyInjectionCompilerApplication constructor.