Examples of create()


Examples of net.sf.collabreview.importing.ImportWorkerFactory.create()

    Importer importer = new Importer(collabReview.getWorkerDaemon()); //((ImportWorkerFactory)getFactory(config)).create();
    collabReview.setImporter(importer);
    importer.setCollabReview(collabReview);
    ImportWorkerFactory factory = (ImportWorkerFactory) getFactory(config);
    factory.setCollabReview(collabReview);
    importer.setImportWorker(factory.create());
  }

  private void configureLifecycleManager(ConfigurationConfigurableCollabReview collabReview, ConfigurationData configurationData) throws Exception {
    LifecycleManager lifecycleManager = new LifecycleManager();
    lifecycleManager.setCollabReview(collabReview);

Examples of net.sf.collabreview.reputation.ReputationMetricManagerFactory.create()

  }

  public void configureReputationMetricManager(ConfigurationConfigurableCollabReview collabReview, ConfigurationData config) throws Exception {
    ReputationMetricManagerFactory factory = (ReputationMetricManagerFactory) getFactory(config);
    factory.setCollabReview(collabReview);
    ReputationMetricManager reputationMetricManager = factory.create();
    collabReview.setReputationMetricManager(reputationMetricManager);
  }

  /**
   * Get the configured Factory from ConfigurationData.

Examples of net.sf.cram.Cram2BamRecordFactory.create()

    long c2sTime = 0;

    for (CramRecord r : cramRecords) {
      long time = System.nanoTime();
      SAMRecord s = c2sFactory.create(r);
      c2sTime += System.nanoTime() - time;
      if (!r.segmentUnmapped)
        Utils.calculateMdAndNmTags(s, refs, restoreMDTag, restoreNMTag);

      s.setValidationStringency(validationStringency);

Examples of net.sf.hibernate.tool.hbm2ddl.SchemaExport.create()

       
        /*
         */
        SchemaExport myDatabaseSchema = new SchemaExport(HibernateUtility.getConfiguration());
        myDatabaseSchema.drop(true,true);
        myDatabaseSchema.create(true,true);

        HibernateUtility.beginTransaction();
       
        AdministratorDAO dao = new AdministratorDAO();
        SalesOrderDAO sdao = new SalesOrderDAO();

Examples of net.sf.jasperreports.engine.util.ReportCreator.create()

        {
          System.out.print("File : " + srcFileName + " ... ");

          Class reportCreatorClass = JRClassLoader.loadClassFromFile(null, new File(srcFileName));
          ReportCreator reportCreator = (ReportCreator)reportCreatorClass.newInstance();
          JasperDesign jasperDesign = reportCreator.create();
          JRXmlWriter.writeReport(jasperDesign, destFileName, "UTF-8");

          System.out.println("OK.");
        }
        catch (Exception e)

Examples of net.sf.joafip.ograph.ObjectGraphCreator.create()

  private String pathFromRootToObject(final Object sourceObject) {
    final ObjectGraphCreator objectGraphCreator = ObjectGraphCreator
        .getInstance();
    String pathFromRootToObject;
    try {
      final ObjectGraph objectGraph = objectGraphCreator
          .create(rootSourceObject);
      pathFromRootToObject = objectGraphCreator.pathToObject(objectGraph,
          sourceObject);
    } catch (GraphException exception) {
      pathFromRootToObject = "failed create object graph "

Examples of net.sf.tacos.markup.ExtendedMarkupWriterImpl.create()

        StringWriter sw = new StringWriter();
        IExtendedMarkupWriter writer = new ExtendedMarkupWriterImpl(createMarkupWriter(new PrintWriter(sw)));
        //writer.create("span", JWCID, "allFlow@If", "renderTag", "false", "condition", "ognl:visibleFlow").println();
        // 10/15/2007 - TODO Tap bug #? -- there is an issue with the cancel listener being
        // discarded if the flow component is in an external form.
        writer.create("span", JWCID, "inF@If", "renderTag", "false", "condition", OGNL+"insideForm").println();
        writer.createEmpty("span", JWCID, "@RenderBlock", "block", "component:flowBlock");
        writer.end();

        writer.create("span", JWCID, "orF@Else", "renderTag", "false").println();

Examples of net.sf.tacos.markup.IExtendedMarkupWriter.create()

        StringWriter sw = new StringWriter();
        IExtendedMarkupWriter writer = new ExtendedMarkupWriterImpl(createMarkupWriter(new PrintWriter(sw)));
        //writer.create("span", JWCID, "allFlow@If", "renderTag", "false", "condition", "ognl:visibleFlow").println();
        // 10/15/2007 - TODO Tap bug #? -- there is an issue with the cancel listener being
        // discarded if the flow component is in an external form.
        writer.create("span", JWCID, "inF@If", "renderTag", "false", "condition", OGNL+"insideForm").println();
        writer.createEmpty("span", JWCID, "@RenderBlock", "block", "component:flowBlock");
        writer.end();

        writer.create("span", JWCID, "orF@Else", "renderTag", "false").println();

Examples of net.sourceforge.squirrel_sql.client.update.downloader.ArtifactDownloaderFactory.create()

    expect(mockArtifactStatus.getArtifactAction()).andStubReturn(ArtifactAction.INSTALL);

    artifactStatusList.add(mockArtifactStatus);

    expect(mockArtifactDownloaderFactory.create(artifactStatusList)).andStubReturn(mockArtifactDownloader);

    mockArtifactDownloader.setUtil(mockUpdateUtil);
    mockArtifactDownloader.setProxySettings(mockProxySettings);
    mockArtifactDownloader.setIsRemoteUpdateSite(true);
    mockArtifactDownloader.setHost(TEST_UPDATE_SERVER);

Examples of net.sourceforge.wampum.finance.entities.AccountDAO.create()

      try {
        if (this.eventListener != null)
          this.eventListener.GNUCashEvent(new GNUCashEvent("Acocunt: " + currentAccount.getTitle()));
        String where = "where ACCOUNT_ID = '" + currentAccount.getAccountID() + "'";
        if (accountDAO.load(where, null, true).size() == 0)
          accountDAO.create(currentAccount, false);
        else
          accountDAO.update(currentAccount, false);
      }
      catch (Exception ex) {
        System.out.println("Error with account:\n" +
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.