private void loadApplicationForTenants(Application app, ApplicationRef appRef, ActionReport report, Logger logger) {
if (app.getAppTenants() == null) {
return;
}
for (AppTenant tenant : app.getAppTenants().getAppTenant()) {
DeployCommandParameters commandParams = app.getDeployParameters(appRef);
commandParams.contextroot = tenant.getContextRoot();
commandParams.target = server.getName();
commandParams.name = DeploymentUtils.getInternalNameForTenant(app.getName(), tenant.getTenant());
commandParams.enabled = Boolean.TRUE;
commandParams.origin = DeployCommandParameters.Origin.load;