Examples of create()


Examples of io.fathom.cloud.state.StateStore.StateNode.create()

            } catch (IOException e) {
                throw new CloudException("Error serializing data", e);
            }
            StateNode node = parentNode.child(Long.toHexString(id));

            if (!node.create(data)) {
                continue;
            }

            return (T) built;
        }

Examples of io.undertow.security.api.AuthenticationMechanismFactory.create()

                name = name.equals(FORM_AUTH) ? FORM_AUTH : name;
                name = name.equals(BASIC_AUTH) ? BASIC_AUTH : name;
                name = name.equals(DIGEST_AUTH) ? DIGEST_AUTH : name;
                name = name.equals(CLIENT_CERT_AUTH) ? CLIENT_CERT_AUTH : name;

                authenticationMechanisms.add(factory.create(name, parser, properties));
            }
        }

        deployment.setAuthenticationMechanisms(authenticationMechanisms);
        //if the JASPI auth mechanism is set then it takes over

Examples of io.undertow.server.handlers.proxy.mod_cluster.MCMPConfig.create()

                    .setManagementPort(cport)
                    .enableAdvertise()
                    .getParent()
                    .build();

            final HttpHandler mcmp = config.create(modCluster, proxy);

            server = Undertow.builder()
                    .addHttpListener(cport, chost)
                    .addHttpListener(pport, phost)
                    .setHandler(mcmp)

Examples of irc4j.IRC4JConfig.create()

        IRC4JConfig config = new IRC4JConfig();
        config.setServer("irc.esper.net", 6667);
        config.setNickname("IRC4J");
        config.setRealName("IRC4J");
        config.setUsername("IRC4J");
        IRC4J bot = config.create();
        bot.setEventListener(new TestEventListener());
        try {
            bot.connect();
        } catch (IOException e) {
            e.printStackTrace();

Examples of java.awt.Graphics.create()

    }

    private void paintOutline(final JComponent f, final int x, final int y,
                              final int width, final int height) {
        Graphics g = f.getParent().getGraphics();
        g = g.create();
        g.setXORMode(Color.WHITE);
        if (shouldClearOutline) {
            g.drawRect(prevOutlineBounds.x, prevOutlineBounds.y,
                       prevOutlineBounds.width - 1, prevOutlineBounds.height - 1);
        } else {

Examples of java.awt.Graphics2D.create()

  public void clip(final StrictBounds bounds)
  {
    final Graphics2D g = getGraphics();
    graphicsContexts.push(g);

    graphics = (Graphics2D) g.create();
    graphics.clip(StrictGeomUtility.createAWTRectangle(bounds));
  }

  public void clearClipping()
  {

Examples of java.io.BufferedOutputStream.create()

        out.close();
      }
    } else {
      DataFileWriter out = new DataFileWriter(dout);
      try {
        out.create(schema, outfile);
        for (int i = 0; i < numRecords; i++) {
          TestRecord tr = new TestRecord();
          out.append(tr);
        }
      } finally {

Examples of java.io.File.create()

    IPackageFragmentRoot[] roots = javaProject.getPackageFragmentRoots();
    for(int i=0;i<roots.length;i++){
      if(roots[i].getResource() instanceof IFolder){
        IFile file = ((IFolder) roots[i].getResource()).getFile("cayenne.xml");
        try {
          file.create(ClickPlugin.getDefault().getBundle().getEntry(
              ClickFacetUtil.CAYENNE_DIR + "/cayenne.xml").openStream(),
              true, monitor);
        } catch(Exception ex){
          ClickPlugin.log(ex);
        }

Examples of java.util.HashMap.create()

          } // end of if statement (proposalVO.getShippingaddressid() != null)

          if (shipToId != 0) {
            try {
              AccountHelperHome hm = (AccountHelperHome) ic.lookup("local/AccountHelper");
              AccountHelper accHelper = hm.create();
              accHelper.setDataSource(this.dataSource);

              ContactHelperLocalHome home2 = (ContactHelperLocalHome) ic.lookup("local/ContactHelper");
              ContactHelperLocal contactHelperLocal = home2.create();
              contactHelperLocal.setDataSource(this.dataSource);

Examples of javango.db.Manager.create()

//          }
         
          form.clean(object);
          try {
            if (object_id == null) {
              manager.create(object);
            } else {
              manager.save(object);
            }
           
            if (request.getParameterMap().containsKey("_addanother")) {
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.