In OSCache it is possible to assign a cached object to one or more groups. This way you can flush a whole "group", so all objects assigned to this group will be flushed.
Unfortunately JBossCache nodes can have only 1 parent. Is there an other way to elegantly implement this with JBossCache?
I don't think so. You can submit a feature request from jira.jboss.com, if you want. But I am sure about the schedule though.