/** INTERNAL: Return a copy (not using clone) of a session broker. */ protected SessionBroker copySessionBroker() { SessionBroker broker = new SessionBroker(getSessionNamesByClass()); broker.accessor = getAccessor(); broker.name = getName(); broker.sessionLog = getSessionLog(); broker.project = project; if (hasEventManager()) { broker.eventManager = getEventManager().clone(broker); } broker.shouldPropagateChanges = shouldPropagateChanges; return broker; }