The AutoFetchNode identifies the location of the bean in the object graph.
It has to use a weak reference so as to ensure that it does not stop the associated bean from being garbage collected.
816817818819820821822
public void profileBean(EntityBeanIntercept ebi, String prefix) { ObjectGraphNode node = request.getGraphContext().getObjectGraphNode(prefix); ebi.setNodeUsageCollector(new NodeUsageCollector(node, autoFetchManagerRef)); }