Examples of create()


Examples of com.esri.sde.sdk.client.SeVersion.create()

                // do not require ArcSDE to create a unique name if the
                // required
                // version already exists
                boolean uniqueName = false;
                try {
                    newVersion.create(uniqueName, newVersion);
                    // newVersion.alter();
                    newVersion.getInfo();
                } catch (SeException e) {
                    throw new ArcSdeException(e);
                }

Examples of com.eviware.soapui.impl.wsdl.loadtest.strategy.LoadStrategyFactory.create()

  }

  public void setLoadStrategy( String type )
  {
    LoadStrategyFactory factory = LoadStrategyRegistry.getInstance().getFactory( type );
    LoadStrategy loadStrategy = factory.create( getModelItem() );
    getModelItem().setLoadStrategy( loadStrategy );
    loadStrategyConfigurationPanel.removeAll();
    loadStrategyConfigurationPanel.add( loadStrategy.getConfigurationPanel(), BorderLayout.CENTER );
    loadStrategyConfigurationPanel.revalidate();
  }

Examples of com.extjs.gxt.ui.client.core.Template.create()

    sb.append("<div class='{cls}-wrap'><div class='{cls}-inner'><div class='{cls}-bar'>");
    sb.append("<div class='{cls}-text'><div>&#160;</div></div></div>");
    sb.append("<div class='{cls}-text {cls}-text-back'><div>&#160;</div></div></div></div>");

    Template t = new Template(sb.toString());
    setElement(t.create(new Params("cls", baseStyle)), target, index);

    El inner = el().firstChild();
    progressBar = inner.firstChild();
    textTopElem = progressBar.firstChild();
    textBackElem = inner.childNode(1);

Examples of com.facebook.presto.spi.ConnectorFactory.create()

        checkState(!connectors.containsKey(connectorId), "A connector %s already exists", connectorId);

        ConnectorFactory connectorFactory = connectorFactories.get(connectorName);
        Preconditions.checkArgument(connectorFactory != null, "No factory for connector %s", connectorName);

        Connector connector = connectorFactory.create(connectorId, properties);
        connectors.put(connectorId, connector);

        addConnector(catalogName, connectorId, connector);
    }

Examples of com.fasterxml.jackson.jr.ob.impl.BeanDefinition.create()

            try {
                Object bean = null;
                switch (t) {
                case VALUE_STRING:
                    bean = def.create(_parser.getText());
                    break;
                case VALUE_NUMBER_INT:
                    bean = def.create(_parser.getLongValue());
                    break;
                case START_OBJECT:

Examples of com.foundationdb.junit.ParameterizationBuilder.create()

                    String name = sql;
                    if (name.startsWith("SELECT DISTINCT"))
                        name = name.substring("SELECT DISTINCT".length());

                    KeepOrOptimize action = KeepOrOptimize.valueOf(actionStr.toUpperCase());
                    pb.create(name, action != KeepOrOptimize.IGNORED, sql,  action);
                }
            }
            return pb.asList();
        }
        finally {

Examples of com.gemstone.gemfire.cache.CacheFactory.create()

      if (topology != null && topology.equals(TOPOLOGY_P2P_VALUE)) {
        CacheFactory cf = new CacheFactory();
        if (locatorStr != null) {
          cf.set("locators", locatorStr);
        }
        cache = cf.create();
        isClient = false;
        return;
      }
    }
    isClient = true;

Examples of com.gemstone.gemfire.cache.DiskStoreFactory.create()

      }

      diskStoreFactory.setDiskDirsAndSizes(diskDirFiles, diskDirSizes);
    }

    diskStore = diskStoreFactory.create(getName());

    Assert.notNull(diskStore, String.format("DiskStore with name '%1$s' failed to be created successfully.",
      diskStore.getName()));
  }

Examples of com.gemstone.gemfire.cache.PartitionAttributesFactory.create()

      if (shortcutWrapper.isProxy()) {
        partitionAttributesFactory.setLocalMaxMemory(0);
      }

      // NOTE internally, RegionFactory.setPartitionAttributes handles merging the PartitionAttributes, hooray!
      regionFactory.setPartitionAttributes(partitionAttributesFactory.create());
    }
  }

  /*
   * (non-Javadoc) - this method is meant strictly to be overridden for testing purposes!

Examples of com.gemstone.gemfire.cache.asyncqueue.AsyncEventQueueFactory.create()

    if (persistent != null) {
      asyncEventQueueFactory.setPersistent(persistent);
    }

    asyncEventQueue = asyncEventQueueFactory.create(getName(), this.asyncEventListener);
  }

  @Override
  public void destroy() throws Exception {
    if (!cache.isClosed()) {
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.