214215216217218219220221222223224
int tenantId = 0; if(!"*".equals(tenantRange)){ tenantId = Integer.parseInt(tenantRange); } ctxts.add(new TenantDomainContext(tenantId, domain, subDomain)); hostCtxt.addTenantDomainContexts(ctxts); handler.addHostContext(hostCtxt);