Examples of createInstance()


Examples of fr.imag.adele.apam.Implementation.createInstance()

  target.createInstance(null, null);

  Implementation implementation = waitForImplByName(null,
    "S07-implementation-05");

  Instance instance = implementation.createInstance(null,
    Collections.<String, String> emptyMap());

  auxListInstances();

  ComponentImpl ci = (ComponentImpl) implementation;
View Full Code Here

Examples of fr.imag.adele.apam.Implementation.createInstance()

    public void RelationSourceImplementationTargetInstanceCreationLazy_tc102() {

  Implementation implementation = waitForImplByName(null,
    "S07-implementation-06");

  Instance instance = implementation.createInstance(null,
    Collections.<String, String> emptyMap());

  S07ImplementationImporter06 dependency = (S07ImplementationImporter06) instance
    .getServiceObject();
View Full Code Here

Examples of fr.imag.adele.apam.Implementation.createInstance()

    public void RelationSourceImplementationTargetSpecification_tc098() {

  Implementation implementation = waitForImplByName(null,
    "S07-implementation-02");

  Instance instance = implementation.createInstance(null, null);

  S07ImplementationImporter02 dependency = (S07ImplementationImporter02) instance
    .getServiceObject();

  auxListProperties(dependency.getInjected());
View Full Code Here

Examples of fr.imag.adele.apam.Implementation.createInstance()

    public void RelationSourceInstanceTargetImplementation_tc119() {

  Implementation implementation = waitForImplByName(null,
    "S07-implementation-18");

  Instance instance = implementation.createInstance(null, new HashMap() {
      {
    put("instance-property", "ok");
      }
  });// Collections.<String, String> emptyMap()
View Full Code Here

Examples of fr.imag.adele.apam.Implementation.createInstance()

    @Test
    public void RelationSourceInstanceTargetInstance_tc109() {

  Implementation target = waitForImplByName(null, "S07-DependencyImpl");
  target.createInstance(null, null);

  Implementation implementation = waitForImplByName(null,
    "S07-implementation-13");

  Instance instance = implementation.createInstance(null, null);
View Full Code Here

Examples of intf.services.XCATBuilderService.createInstance()

      throw new NonstandardException("Can't instantiate Builder service", e);
    }
    String builderGSH = HandleResolver.createGSH("coordinatorbuilderService");
    builderService.setGSH(builderGSH);
    HandleResolver.addReference(builderGSH, builderService);
    builderService.createInstance(cInfo.getInstanceName(),
          className,
          componentEnv);

  }
View Full Code Here

Examples of io.undertow.websockets.jsr.annotated.AnnotatedEndpointFactory.createInstance()

                ssl = provider.getSsl(xnioWorker, aClass, uri);
                if (ssl != null) {
                    break;
                }
            }
            return connectToServerInternal(factory.createInstance(instance), ssl, config, uri);
        } catch (InstantiationException e) {
            throw new RuntimeException(e);
        }
    }
View Full Code Here

Examples of javax.media.jai.RenderedOp.createInstance()

      pb.add(ri.getHeight() / 2.0f);
      pb.add((float) Math.toRadians(degrees));
      pb.add(new InterpolationNearest());
      op = JAI.create("Rotate", pb, null);
    }
    PlanarImage myPlanar = op.createInstance();
    retVal = myPlanar.getAsBufferedImage();
    return retVal;
  }

  /**
 
View Full Code Here

Examples of lcmc.host.domain.HostFactory.createInstance()

    public void testEqualNamesNotEqualsHosts() {
        final ClusterBrowser clusterBrowser = integrationTestLauncher.getHosts().get(0).getBrowser().getClusterBrowser();
        final HostFactory hostFactory = AppContext.getBean(HostFactory.class);

        final ResourceInfo r1 = new ResourceInfo();
        r1.init("name", new LinkedHashSet<Host>(Arrays.asList(hostFactory.createInstance())), clusterBrowser);
        final ResourceInfo r2 = new ResourceInfo();
        r2.init("name", null, clusterBrowser);

        assertTrue("equal names", r1.equals(r2));
    }
View Full Code Here

Examples of lupos.datastructures.bindings.BindingsFactory.createInstance()

      BigInteger usedVars = InputHelper.readLuposBigInteger(hm.size(), in);
      if (usedVars == null) {
        return null;
      }
      BigInteger differentFromPreviousBindings = InputHelper.readLuposBigInteger(hm.size(), in);
      final Bindings b = bindingsFactory.createInstance();
      final BigInteger TWO = BigInteger.valueOf(2);
      for (final Variable v : hm.keySet()) {
        if (usedVars.mod(TWO).compareTo(BigInteger.ONE)==0) {
          if (previousBindings == null || differentFromPreviousBindings.mod(TWO).compareTo(BigInteger.ONE)==0) {
            Literal lit;
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.