code: protected void modified(ComponentContext context) {
          if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINER)) {
              LoggingUtil.SESSION_LOGGER_CORE.entering(CLASS_NAME, "modified", context);
          }
          this.context = context;
          this.registerSessionManager();
          if (TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINER)) {
              LoggingUtil.SESSION_LOGGER_CORE.exiting(CLASS_NAME, "modified");
          }
      }
docs: <p>
  Changes to the session configuration in the httpSession element
  in server.xml require an application restart because certain properties
  have an effect during application start/stop.
  </p>
  <p>
  This method is called whenever a change is made to the session
  configuration. A configuration change should trigger exactly one
  application restart if the SessionManager service has been
  registered AND initialized, but no application restarts if the
  SessionManager is not initialized (a restart is not needed because
  no one is using the registered/unregistered SessionManager service).
  </p>
  
  @param context the context used to register the SessionManager service