public Object getTarget(ControllerContext context)
{
Object user = getActualUser(context);
Object result = getTargetForActualUser(user);
ContextTracker myTracker = getContextTracker();
if (myTracker != null)
myTracker.incrementUsedBy(this, user);
if (context instanceof ContextTracking)
{
ContextTracking ct = ContextTracking.class.cast(context);
ContextTracker otherTracker = ct.getContextTracker();
if (otherTracker != null && otherTracker != myTracker)
otherTracker.incrementUsedBy(this, user);
}
return result;
}