MYFACES-2937 Change getApplicationObject function name to buildApplicationObject and move it to shared ClassUtils