protected void detachSource() {
   sourceListener.attach(sourceSession);
   sourceExceptionHandler.detach(sourceSession);
   sourceSession = null;
 }
 protected void attachSource(AbstractSession session) {
   sourceListener.attach(session);
   sourceExceptionHandler.attach(session);
   sourceSession = session;
 }