WFLY-2096 WeldApplicationFactory doesn't implement setApplication() correctly