Examples of push()


Examples of org.apache.openejb.util.Pool.push()

                }
            } catch (TimeoutException e) {
            }

            for (Pool.Entry entry : entries) {
                pool.push(entry);
                snooze();
            }
        }
//        new CountDownLatch(1).await();

Examples of org.apache.openejb.util.Stack.push()

        CoreDeploymentInfo deploymentInfo = callContext.getDeploymentInfo();
        Data data = (Data) deploymentInfo.getContainerData();
        Stack pool = data.getPool();

        if (strictPooling) {
            pool.push(bean);
            data.getSemaphore().release();
        } else {
            if (pool.size() >= poolLimit) {
                freeInstance(callContext, (Instance)bean);
            } else {

Examples of org.apache.shale.dialog.Status.push()

        // log on / edit profile dialogs.
        // TODO: The next line should be Dialog Manager implementation agnostic
        Status status =  new org.apache.shale.dialog.impl.StatusImpl();

        context.getExternalContext().getSessionMap().put(Globals.STATUS, status);
        status.push(new Status.Position(dialogIdentifier, getCurrentViewId(exec)));
       
        return exec;
       
    }

Examples of org.apache.struts.digester.Digester.push()

  }

  protected static TypeBean parse(InputStream in) throws Exception {
    TypeBean bean = new TypeBean();
    Digester digester = new Digester();
    digester.push(bean);
    digester.setValidating(false);
    digester.addObjectCreate(
      "templates-description/template",
      "org.nextime.ion.backoffice.bean.TypeBean");
    digester.addSetProperties("templates-description/template");

Examples of org.apache.tapestry.runtime.RenderQueue.push()

        PageElement element1 = mockPageElement();
        PageElement element2 = mockPageElement();

        getMocksControl().checkOrder(true);

        queue.push(element2);
        queue.push(element1);

        replay();

        block.addToBody(element1);

Examples of org.apache.tapestry.services.Environment.push()

        Runnable r1 = mockRunnable();
        Runnable r2 = mockRunnable();

        replay();

        assertNull(e.push(Runnable.class, r1));

        assertSame(r1, e.peek(Runnable.class));

        assertSame(r1, e.push(Runnable.class, r2));

Examples of org.apache.tapestry5.runtime.RenderQueue.push()

        RenderCommand element1 = mockRenderCommand();
        RenderCommand element2 = mockRenderCommand();

        getMocksControl().checkOrder(true);

        queue.push(element2);
        queue.push(element1);

        replay();

        block.addToBody(element1);

Examples of org.apache.tapestry5.services.Environment.push()

        Runnable r1 = mockRunnable();
        Runnable r2 = mockRunnable();

        replay();

        assertNull(e.push(Runnable.class, r1));

        assertSame(r1, e.peek(Runnable.class));

        assertSame(r1, e.push(Runnable.class, r2));

Examples of org.apache.tomcat.util.digester.Digester.push()

            try {
                InputSource is =
                    new InputSource("file://" + file.getAbsolutePath());
                FileInputStream fis = new FileInputStream(file);
                is.setByteStream(fis);
                digester.push(this);
                digester.parse(is);
                fis.close();
            } catch (Exception e) {
                log.error("Catalina.stop: ", e);
                System.exit(1);

Examples of org.apache.tools.ant.util.IdentityStack.push()

            IdentityStack id = IdentityStack.getInstance(stack);

            if (id.contains(o)) {
                throw circularReference();
            } else {
                id.push(o);
                ((DataType) o).dieOnCircularReference(id, project);
                id.pop();
            }
        }
        checked = true;
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.