String msg = "Already subscribed to " + cartridgeType
+ ". This multi-tenant cartridge will not be available to subscribe";
if (log.isDebugEnabled()) {
log.debug(msg);
}
throw new AlreadySubscribedException(msg, cartridgeType);
}
}
TopologyManagementService topologyService = DataHolder.getTopologyMgtService();
DomainContext[] domainContexts = topologyService.getDomainsAndSubdomains(cartridgeType, tenantId);