private void integrateTransientState(Fqn target, ObjectInputStream in) throws Exception {
prepareContextOptions();
NodeSPI targetNode = cache.getNode(target);
for (Object childname : targetNode.getChildrenNames()) {
prepareContextOptions();
targetNode.removeChild(childname);
}
// set these flags to false if we have persistent state!
targetNode.setDataLoaded(false);
targetNode.setChildrenLoaded(false);