Examples of Engine


Examples of net.sf.fysix.engine.Engine

  private boolean levelEditor = true;
 
    // Main
  public Main() {
    renderer = new Renderer();
    engine = new Engine();
    world = World.getInstance();
   
    worldDisplay1 = new WorldDisplay();
    worldDisplay2 = new WorldDisplay();
   
View Full Code Here

Examples of org.apache.agila.engine.Engine

        eiSvc.setQueueService(qs);
        eiSvc.setTokenService(tokenService);

        qs.start();

        engine = new Engine(tokenService, eiSvc, graphManager, qs);

        Reader reader = new InputStreamReader(getClass().getClassLoader().getResourceAsStream(
                "org/apache/agila/workflow_simple.xml"));

        engine.addBusinessProcess(reader);
View Full Code Here

Examples of org.apache.bval.jsr303.example.Engine

        Assert.assertTrue(found);

    }

    public void testValidateMultiValuedConstraints() {
        Engine engine = new Engine();
        engine.serialNumber = "abcd-defg-0123";
        Set<ConstraintViolation<Engine>> violations;
        violations = validator.validate(engine);
        assertEquals(0, violations.size());
View Full Code Here

Examples of org.apache.catalina.Engine

    *
    * @return an Engine object (or null).
    */
   Engine getEngine()
   {
      Engine e = null;
      for (Container c = getContainer(); e == null && c != null; c = c.getParent())
      {
         if (c != null && c instanceof Engine)
         {
            e = (Engine) c;
View Full Code Here

Examples of org.apache.catalina.Engine

    public void startServer() throws Exception {
        embedded = new Embedded();
        String path = new File(".").getAbsolutePath();
        embedded.setCatalinaHome(path);

        Engine engine = embedded.createEngine();
        engine.setDefaultHost("127.0.0.1");

        Host host = embedded.createHost("127.0.0.1", path);
        engine.addChild(host);

        Context c = embedded.createContext("/", path);
        c.setReloadable(false);
        Wrapper w = c.createWrapper();
        w.addMapping("/*");
 
View Full Code Here

Examples of org.apache.catalina.Engine

        urlTarget = "http://127.0.0.1:" + port + "/invoke";
        embedded = new Embedded();
        String path = new File(".").getAbsolutePath();
        embedded.setCatalinaHome(path);

        Engine engine = embedded.createEngine();
        engine.setDefaultHost("127.0.0.1");

        Host host = embedded.createHost("127.0.0.1", path);
        engine.addChild(host);

        Context c = embedded.createContext("/", path);
        c.setReloadable(false);
        Wrapper w = c.createWrapper();
        w.addMapping("/*");
 
View Full Code Here

Examples of org.apache.cocoon.Engine

            + "</body></html>";
        
        try {
            // Get the Cocoon Engine
            out.println("Getting an instance of the Cocoon engine...<br />");
            Engine cocoonEngine = Engine.getInstance();
                      
            // Wrap my request object and add the String document to it
            out.println("Wrapping the original request...<br />");
            CocoonServletRequest myReq =
                new CocoonServletRequest(document, req);
                
            // Specify some additional parmaters
            out.println("Adding parameters to my request to Cocoon... <br />");
            myReq.addParameter("foo", "bar");
            myReq.addParameter("apache", "xml");
           
            // Pass in the real response object.  If I wanted to
            //   filter the output further, I could easily construct
            //   a CocoonServletResponse object and pass that in,
            //   and pull the output out of it.
            out.println("Generate some content... <br />");
            cocoonEngine.handle(myReq, res);
           
        } catch (Exception e) {
            out.println("Error: " + e.getMessage());
        }
       
View Full Code Here

Examples of org.apache.harmony.security.fortress.Engine

   * Class under test for SpiImpl getInstance(String, Object)
   */
  public void testGetInstanceStringObject1() throws Exception {
    Provider p = new MyProvider();
    Services.initServiceInfo(p);
    Engine engine = new Engine("Service");
   
   
    engine.getInstance("AlGOrItHM", null);

    if (engine.provider != p) {
      fail("Incorrect provider");
    }
    if (!(engine.spi instanceof SomeClass)) {
View Full Code Here

Examples of org.apache.jetspeed.engine.Engine

    }

    public void shutdown()
    {
        System.out.println("Shutting down CPS Bridge");
        Engine engine =Jetspeed.getEngine();
        try
        {
            engine.shutdown();
        }
        catch (JetspeedException e)
        {
            System.out.println("ERROR: Shutting down CPS Bridge " + e);
        }
View Full Code Here

Examples of org.archive.crawler.framework.Engine

        setupGlobalProperties(port);
       
        // Start Heritrix.
        try {
            engine = new Engine(jobsDir);
            component = new Component();
           
            if(bindHosts.isEmpty()) {
                // listen all addresses
                setupServer(port, null, keystorePath, keystorePassword, keyPassword);
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.