private synchronized void setServletRequestsAllowed(final boolean value, PersistType persistType)
     throws OseeCoreException {
   OseeServerInfoMutable info = getApplicationServerInfo();
   info.setAcceptingRequests(value);
   if (PersistType.ALLOW_DB_PERSIST == persistType) {
     dataStore.update(Collections.singleton(info));
   }
   for (String contexts : oseeHttpServlets.keySet()) {
     InternalOseeHttpServlet servlets = oseeHttpServlets.get(contexts);
     servlets.setRequestsAllowed(value);
   }
 }
 @Override
 public void register(String context, OseeHttpServlet servlet) {
   InternalOseeHttpServlet internalServlet = servlet;
   internalServlet.setRequestsAllowed(getApplicationServerInfo().isAcceptingRequests());
   this.oseeHttpServlets.put(context, internalServlet);
 }