class TenantRepository {

    public synchronized Tenant addTenant(TenantName tenantName) {
        writeTenantPath(tenantName);
        return createTenant(tenantName, componentRegistry.getClock().instant());
    }

    @Inject public  TenantRepository(GlobalComponentRegistry componentRegistry);

}