Examples of instantiate()


Examples of com.elevenware.redcorn.beans.BeanDefinition.instantiate()

    @Override
    public RedcornContainer createChild(String name) {
//        BeanDefinition containerDef = new DefaultBeanDefinition(ConstructorInjectionIocContainer.class, name);
        BeanDefinition containerDef = this.register(name, ConstructorInjectionRedcornContainer.class);
        containerDef.instantiate();
        RedcornContainer child = (RedcornContainer) containerDef.getPayload();
        for(BeanDefinition bean: this.context.values()) {
            child.addDefinition(bean);
        }
        containerDef.markResolved();
View Full Code Here

Examples of com.hp.hpl.jena.reasoner.rulesys.BindingEnvironment.instantiate()

            // Create derivation record
            matchList = new ArrayList<Triple>(rule.bodyLength());
            for (int i = 0; i < rule.bodyLength(); i++) {
                Object clause = rule.getBodyElement(i);
                if (clause instanceof TriplePattern) {
                    matchList.add(env.instantiate((TriplePattern)clause));
                }
            }
        }
        for (int i = 0; i < rule.headLength(); i++) {
            Object hClause = rule.getHeadElement(i);
View Full Code Here

Examples of com.hp.hpl.jena.reasoner.rulesys.Rule.instantiate()

                }
            } else if (hClause instanceof Rule) {
                Rule r = (Rule)hClause;
                if (r.isBackward()) {
                    if (isAdd) {
                        infGraph.addBRule(r.instantiate(env));
                    } else {
                        infGraph.deleteBRule(r.instantiate(env));
                    }
                } else {
                    throw new ReasonerException("Found non-backward subrule : " + r);
View Full Code Here

Examples of de.micromata.less.LessWicketApplicationInstantiator.instantiate()

    // initialize styles compiler
    try {
      final LessWicketApplicationInstantiator lessInstantiator = new LessWicketApplicationInstantiator(this, "styles", "projectforge.less",
          "projectforge.css");
      lessInstantiator.instantiate();
    } catch (final Exception e) {
      log.error("Unable to instantiate wicket less compiler", e);
    }

    if (loginHandler == null) {
View Full Code Here

Examples of edu.indiana.extreme.xbaya.gpel.GPELClient.instantiate()

     
     
      GPELClient client = new GPELClient(
          XBayaConstants.DEFAULT_GPEL_ENGINE_URL, credential);//changed from constants
       client.deploy(workflow, false);
      this.instance = client.instantiate(workflow,
          XBayaConstants.DEFAULT_DSC_URL, context.getTopic());
      this.wsdl = client.start(instance);
      // System.out.println(workflow.getGPELTemplateID());
    } catch (WorkflowEngineException e) {
      throw new RuntimeException(e);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.workflow.WorkflowClient.instantiate()

        client.setEngineURL(XBayaConstants.DEFAULT_GPEL_ENGINE_URL);

        client.createScriptAndDeploy(workflow, false);

        // Instantiate the workflow template.
        GcInstance instance = client.instantiate(workflow, this.configuration
                .getDSCURL());

        // Start the workflow instance.
        WsdlDefinitions wsdl = client.start(instance);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.workflow.proxy.WorkflowProxyClient.instantiate()

            Workflow workflow = new Workflow();
            workflow.setName("uuid:some-number-will-come-here");
            WorkflowProxyClient workflowProxyClient = new WorkflowProxyClient();
            workflowProxyClient.setEngineURL(new URI(wsdlLoc));

            workflowProxyClient.instantiate(workflow, new URI(wsdlLoc));

        } catch (GraphException e) {
            e.printStackTrace();
        } catch (WorkflowEngineException e) {
            e.printStackTrace();
View Full Code Here

Examples of javax.management.MBeanServer.instantiate()

                if (mbs == null) {
                    LOG.log(Level.WARNING, "MBeanServer not available.");
                } else {
                    try {
                        RequiredModelMBean rtMBean =
                            (RequiredModelMBean)mbs.instantiate("javax.management.modelmbean.RequiredModelMBean");
                        rtMBean.setModelMBeanInfo(mbi);
                        try {
                            rtMBean.setManagedResource(managedEndpoint, "ObjectReference");
                        } catch (InvalidTargetObjectTypeException itotex) {
                            throw new JMException(itotex.getMessage());
View Full Code Here

Examples of joust.utils.tree.functiontemplates.FunctionTemplate.instantiate()

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

        if (template.isStatic) {
            AJCExpressionTree replacement = template.instantiate(
                    that.args.toArray(
                            new AJCExpressionTree[that.args.size()]
                    )
            );
View Full Code Here

Examples of nexj.core.rpc.InstanceFactory.instantiate()

         List list = (List)new SOAPUnmarshaller(m_context).deserialize(reader);
         InstanceFactory factory = new InstanceFactory(InstanceFactory.STATE, m_context);

         for (int i = 0; i != list.size(); ++i)
         {
            factory.instantiate((TransferObject)list.get(i));
         }

         factory.complete();

         for (Iterator itr = factory.getIdentityMap().valueIterator(); itr.hasNext();)
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.