@Override
    public void setTransient(Registry rg) {
        super.setTransient(rg);

        try {
            for (String key : resources.keySet()) {
                Resource resource = (Resource) resources.get(key);
                resource.setTransient(rg, this);
            }
        } catch (ConcurrentModificationException concEx) {
            //another thread was trying to modify resources while iterating
            //we'll continue and the new item can be grabbed on the next update
        }

        for (int i = 0; i < resourceTypes.size(); i++) {
            resourceTypes.get(i).setTransient(rg);
        }
        transmitting = false;
    }