Examples of removeApplication()


Examples of com.sun.enterprise.config.serverbeans.DiameterApplications.removeApplication()

            String msg = _strMgr.getString("ApplicationRequiredAtleastOne");
            throw new MBeanException(new ConfigException(msg));
        }
        Application diaApp = diaApps.getApplicationByVendorid(vendorId);
        if (diaApp != null)
            diaApps.removeApplication(diaApp);
        else {
            String msg = _strMgr.getString("ApplicationNotAvl");
            throw new MBeanException(new ConfigException(msg));
        }
    }
View Full Code Here

Examples of org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore.removeApplication()

        RMAppImpl appImpl = (RMAppImpl) rmContext.getRMApps().get(
                                                        appState.getAppId());
        appImpl.recover(state);
      }
      else {
        store.removeApplication(appState);
      }
    }
  }

  @Override
View Full Code Here

Examples of org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore.removeApplication()

        RMAppImpl appImpl = (RMAppImpl) rmContext.getRMApps().get(
                                                        appState.getAppId());
        appImpl.recover(state);
      }
      else {
        store.removeApplication(appState);
      }
    }
  }

  @Override
View Full Code Here

Examples of org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore.removeApplication()

      completedApps.add(applicationId)
      writeAuditLog(applicationId);
     
      // application completely done. Remove from state
      RMStateStore store = rmContext.getStateStore();
      store.removeApplication(rmContext.getRMApps().get(applicationId));
    }
  }

  protected void writeAuditLog(ApplicationId appId) {
    RMApp app = rmContext.getRMApps().get(appId);
View Full Code Here

Examples of org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore.removeApplication()

        RMAppImpl appImpl = (RMAppImpl) rmContext.getRMApps().get(
                                                        appState.getAppId());
        appImpl.recover(state);
      }
      else {
        store.removeApplication(appState);
      }
    }
  }

  @Override
View Full Code Here

Examples of org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore.removeApplication()

      completedApps.add(applicationId)
      writeAuditLog(applicationId);
     
      // application completely done. Remove from state
      RMStateStore store = rmContext.getStateStore();
      store.removeApplication(rmContext.getRMApps().get(applicationId));
    }
  }

  protected void writeAuditLog(ApplicationId appId) {
    RMApp app = rmContext.getRMApps().get(appId);
View Full Code Here

Examples of org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore.removeApplication()

        // do not recover unmanaged applications since current recovery
        // mechanism of restarting attempts does not work for them.
        // This will need to be changed in work preserving recovery in which
        // RM will re-connect with the running AM's instead of restarting them
        LOG.info("Not recovering unmanaged application " + appState.getAppId());
        store.removeApplication(appState);
      } else {
        LOG.info("Recovering application " + appState.getAppId());
        submitApplication(appState.getApplicationSubmissionContext(),
                          appState.getSubmitTime());
        // re-populate attempt information in application
View Full Code Here

Examples of org.cloudfoundry.ide.eclipse.server.core.internal.CloudFoundryServer.removeApplication()

      }

      CloudFoundryPlugin.getCallback().stopApplicationConsole(appModule, cloudServer);

      // Delete the module locally
      cloudServer.removeApplication(appModule);

      // Be sure the cloud application mapping is removed
      // in case other components still have a reference to
      // the
      // module
View Full Code Here

Examples of org.exoplatform.web.WebAppController.removeApplication()

               return;
            }
         }
         service.removeGadget(name);
         WebAppController webController = uiManagement.getApplicationComponent(WebAppController.class);
         webController.removeApplication(GadgetApplication.EXO_GADGET_GROUP + "/" + name);
         Gadget gadget = uiManagement.getGadget(name);
         if (gadget.isLocal())
         {
            // get dir path of gadget
            String gadgetUrl = gadget.getUrl();
View Full Code Here

Examples of org.exoplatform.web.WebAppController.removeApplication()

                // TODO: figure out what is happening with the controller not existing during shutdown
                if (controller != null) {
                    PortletApplication application = controller.getApplication(applicationId_);
                    if (application != null) {
                        application.onDestroy();
                        controller.removeApplication(applicationId_);
                    }
                }

                PortletConfigRegistry registry = (PortletConfigRegistry) container
                        .getComponentInstanceOfType(PortletConfigRegistry.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.