Examples of Application


Examples of com.azaptree.wadl.Application

  private void generateWADL(final Request baseRequest, final HttpServletResponse response) {
    // TODO: implement HTTP caching
    response.setStatus(HttpStatus.OK_200);
    response.setContentType("application/vnd.sun.wadl+xml");

    final Application app = new Application();
    app.setGrammars(createWadlGrammars());
    for (String catalogName : commandService.getCommandCatalogNames()) {
      app.getResources().add(createWadlResources(catalogName));
    }

    try {
      final JAXBContext wadlJaxbContext = JAXBContext.newInstance(Application.class.getPackage().getName());
      final Marshaller marshaller = wadlJaxbContext.createMarshaller();
View Full Code Here

Examples of com.badlogic.gdx.Application

        throw new GdxRuntimeException("Error creating controller manager: " + className, ex);
      }
    }

    managers.put(Gdx.app, manager);
    final Application app = Gdx.app;
    Gdx.app.addLifecycleListener(new LifecycleListener() {

      @Override
      public void resume () {
      }
View Full Code Here

Examples of com.cedarsoft.app.Application

    nextTag( deserializeFrom, ELEMENT_VERSION );
    Version applicationVersion = versionSerializer.deserialize( deserializeFrom, VERSION_VERSION_SERIALIZER );
    closeTag( deserializeFrom );

    return new Application( name, applicationVersion );
  }
View Full Code Here

Examples of com.denimgroup.threadfix.data.entities.Application

      }
    }
   
    Integer scanId = scan.getId();
    Integer scanApplicationChannelId = scan.getApplicationChannel().getId();
    Application app = scan.getApplication();
    List<Scan> appScanList = app.getScans();
   
    if (scanId == null || scanApplicationChannelId == null || appScanList == null) {
      // also probably malformed
      return;
    }
View Full Code Here

Examples of com.google.appengine.tools.admin.Application

    this.severity = severity;
  }

  protected IStatus run(IProgressMonitor monitor) {

    Application readApplication = null;
    try {
      IPackageFragmentRoot[] packageFragmentRoots = javaGProject
          .getPackageFragmentRoots();
      for (IPackageFragmentRoot r : packageFragmentRoots) {
        int kind = r.getKind();
        if (kind == IPackageFragmentRoot.K_BINARY) {
          String elementName = r.getElementName();
          if (elementName.startsWith("appengine-local-runtime")) {
            File fl = r.getPath().toFile().getParentFile()
                .getParentFile().getParentFile();
            System.setProperty("appengine.sdk.root",
                fl.getAbsolutePath() + File.separatorChar);
          }
          System.out.println(elementName);
        }
      }
      IProject javaProj = javaGProject.getProject();
      IContainer warLocation = WebRootDirProvider.calculate(javaProj);
      if (!warLocation.exists()) {
        throw new FileNotFoundException("War Directory not found");
      }
      readApplication = Application.readApplication(warLocation
          .getLocation().toOSString());
    } catch (IOException e) {
      if (e instanceof FileNotFoundException) {
        Display.getDefault().syncExec(new Runnable() {

         
          public void run() {
            MessageDialog.openError(Display.getDefault()
                .getActiveShell(), "Error",
                "War directory did not found.");
            PreferencesUtil.createPreferenceDialogOn(Display
                .getDefault().getActiveShell(),
                "com.onpositive.gae.tools.core.weblocation",
                new String[] {}, null);
          }

        });
      }
      return new Status(IStatus.ERROR, Activator.PLUGIN_ID,
          IStatus.ERROR, e.getMessage(), e);
    } catch (JavaModelException e) {
      e.printStackTrace();
    }

    ConnectOptions connectOptions = ConnectionOptionsManager
        .getOptions(readApplication.getAppId());
    if (connectOptions == null) {
      return Status.CANCEL_STATUS;
    }
    AppAdmin createAppAdmin2 = new AppAdminFactory().createAppAdmin(
        connectOptions, readApplication, new PrintWriter(System.err));
View Full Code Here

Examples of com.googlecode.psiprobe.model.Application

        return null;
    }

    public LogDestination getLogDestination(String logType, String webapp, boolean context, boolean root, String logName, String logIndex) {
        Context ctx = null;
        Application application = null;
        if (webapp != null) {
            ctx = getContainerWrapper().getTomcatContainer().findContext(webapp);
            if (ctx != null) {
                application = ApplicationUtils.getApplication(ctx);
            }
View Full Code Here

Examples of com.hetty.object.Application

   * init service metaData
   */
    private void initHettySecurity() {
    // TODO Auto-generated method stub
      logger.info("init hetty security...........");
      Application app = new Application(hettyConfig.getServerKey(),hettyConfig.getServerSecret());
      HettySecurity.addToApplicationMap(app);
  }
View Full Code Here

Examples of com.ibm.commons.runtime.Application

      String v = properties.getProperty(propertyName);
      if(v!=null) {
        return v;
      }
    }
    Application app = getApplicationUnchecked();
    if(app!=null) {
      String v = app.getProperty(propertyName);
      if(v!=null) {
        return v;
      }
    }
    return defaultValue;
View Full Code Here

Examples of com.ibm.designer.runtime.Application

* The actual service to create can be parameterized using a property, defined in the database.
*/
public class ToolkitServletFactory extends ServletFactory {

  private static String findServletClassName() {
    Application app = Application.getRuntimeApplicationObject();
    if(app!=null) {
      String s = app.getProperty("sbt.servlet.toolkit");
      if(StringUtil.isNotEmpty(s)) {
        return s;
      }
    }
    return ToolkitServlet.class.getName();
View Full Code Here

Examples of com.intellij.openapi.application.Application

                            LOG.error(e.getMessage(), e);
                            plugins = new PluginGoalContainer[0];
                        }
                    }
                };
                final Application app = ApplicationManager.getApplication();
                app.runProcessWithProgressSynchronously(
                        pluginLoader,
                        "Loading plugins",
                        false,
                        project);
            }
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.