LOG.debug("onSaveOrDelete for replication");
    void onSaveOrDelete(Object entity) {        Class c = entity.getClass();        if (Group.class.equals(c)) {            Group group = (Group) entity;            if ("user".equals(group.getResource())) {                m_replicationContext.generate(DataSet.PERMISSION);            }        } else if (User.class.equals(c)) {            m_replicationContext.generateAll();        }    }