CDI-315, getting instances during application init is non-portable