class MsoTenantAdapterImpl implements MsoTenantAdapter {

    @Override
    public void deleteTenant(String cloudSiteId, String tenantId, MsoRequest msoRequest, Holder<Boolean> tenantDeleted)
            throws TenantException {

        logger.debug("Deleting Tenant {} in {}", tenantId, cloudSiteId);

        // Delete the Tenant.
        try {

            MsoTenantUtils tUtils = tFactory.getTenantUtils(cloudSiteId);
            boolean deleted = tUtils.deleteTenant(tenantId, cloudSiteId);
            tenantDeleted.value = deleted;
        } catch (MsoException me) {
            logger.error("{} {} Exception - DeleteTenant {}: ", MessageEnum.RA_DELETE_TEMAMT_ERR,
                    ErrorCode.DataError.getValue(), tenantId, me);
            throw new TenantException(me);
        }

        // On success, nothing is returned.
        return;
    }

}