* it can be called outside constructors as well.
* @param loggingResourceable the loggingResourceable to be set on this Controller's
* IUserActivityLogger
*/
public void addLoggingResourceable(ILoggingResourceable loggingResourceable) {
IUserActivityLogger logger = getUserActivityLogger();
if (logger==null) {
// logger is never null - guaranteed.
// throw this in the unlikely odd still
throw new IllegalStateException("no logger set");
}
logger.addLoggingResourceInfo(loggingResourceable);
}