Examples of instantiate()


Examples of org.jbpm.instantiation.FieldInstantiator.instantiate()

                Delegation delegation = action.getActionDelegation();
                String configProps = delegation.getConfiguration();
                String actionHandlerClassName = delegation.getClassName();
                FieldInstantiator instantiator = new FieldInstantiator();

                BaseHandler handler = (BaseHandler) instantiator.instantiate(Class.forName(actionHandlerClassName),
                    configProps);
                handler.setPropertyDefaults();

                String description = handler.getDescription();
View Full Code Here

Examples of org.openbp.core.model.item.Item.instantiate()

    saveItemToStore(currentItem);

    // Instantiate classes referenced by the item if we are expected to
    if (isInstantiateItems())
    {
      currentItem.instantiate();
    }
  }

  /**
   * Deletes an item from a model.
View Full Code Here

Examples of org.rhq.scripting.ScriptEngineInitializer.instantiate()

        if (initializer == null) {
            return null;
        }

        ScriptEngine engine = initializer.instantiate(packageFinder.findPackages("org.rhq.core.domain"),
            permissions);

        if (bindings != null) {
            injectStandardBindings(engine, bindings, true);
        }
View Full Code Here

Examples of org.springframework.beans.factory.support.InstantiationStrategy.instantiate()

            {
                final InstantiationStrategy is = getInstantiationStrategy();
                setInstantiationStrategy(new InstantiationStrategy() {
                    @Override
                    public Object instantiate(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner) throws BeansException {
                        return is.instantiate(beanDefinition, beanName, owner);
                    }

                    @Override
                    public Object instantiate(RootBeanDefinition beanDefinition, String beanName, BeanFactory owner, Constructor<?> ctor, Object[] args) throws BeansException {
                        final Object bean = is.instantiate(beanDefinition, beanName, owner, ctor, args);
View Full Code Here

Examples of org.structr.core.graph.NodeFactory.instantiate()

  public NodeInterface getOtherNode(final NodeInterface node) {

    try {

      NodeFactory nodeFactory = new NodeFactory(securityContext);
      return (NodeInterface)nodeFactory.instantiate(dbRelationship.getOtherNode(node.getNode()));

    } catch (FrameworkException t) {
      // ignore FrameworkException but let NotInTransactionException pass
    }
View Full Code Here

Examples of org.structr.core.graph.RelationshipFactory.instantiate()

      // collect relationships in transactional context
      List<AbstractRelationship> rels = new LinkedList<>();
      try (final Tx tx = StructrApp.getInstance().tx()) {
       
        rels.addAll(relFactory.instantiate(GlobalGraphOperations.at(graphDb).getAllRelationships()));
      }

      long count = bulkGraphOperation(securityContext, rels, 1000, "MigrateRelationships", new BulkGraphOperation<AbstractRelationship>() {

        @Override
View Full Code Here

Examples of prefuse.data.Schema.instantiate()

    String[].class,
  };

  public static Table copyTable(Table oldTable) {
    Schema oldSchema = oldTable.getSchema();
    Table newTable = oldSchema.instantiate();
   
    for (Iterator rowIt = oldTable.tuples(); rowIt.hasNext();) {
      Tuple row = (Tuple) rowIt.next();     
      newTable.addTuple(row);
    }   
View Full Code Here

Examples of synalp.commons.semantics.Semantics.instantiate()

      FeatureStructure entryInterface = new FeatureStructure(macro.getMacroInterface());
      entryInterface.instantiate(context);
      ret.setInterface(entryInterface);

      Semantics semantics = new Semantics(macro.getSemantics());
      semantics.instantiate(context);
      ret.setSemantics(semantics);
    }

    return ret;
  }
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.