With weld enabled, one can't decorate the application with an own
The problem seems to be in the private field defaultApplication set from
InjectionApplicationFactory. It seems that WeldApplication should extend
ApplicationWrapper and act like a wrapper.
Also WeldApplicationFactory.getApplication always returns application, even if
someone called setApplication.