code: @Override
      public SessionManagementBean addSessionManagementBean(ServiceManagementBean serviceManagementBean,
                                                            IoSessionEx session) {
          SessionManagementBean sessionManagementBean =
                  new SessionManagementBeanImpl(serviceManagementBean, session);
  
          for (ManagementServiceHandler handler : managementServiceHandlers) {
              handler.addSessionManagementBean(sessionManagementBean);
          }
  
          return sessionManagementBean;
      }
docs: Create a SessionManagementBean for a resource address on the local Gateway instance.
  <p/>
  XXX We need to do something more if we're going to support some idea of storing sessions from another Gateway instance in
  the same repository, as we won't generally have ServiceContext or IoSessions to work with (since the other instance will
  be in a different process, perhaps on a different machine.)
  <p/>
  NOTE: we store the service resource address on the management bean because we need it later to do protocol-specific things
  like reconstruct JMX session mbean names. NOTE: the managementProcessors are called during the constructor, so the bean
  has not yet been loaded into the list of sessionManagement beans.