Examples of prune()


Examples of org.apache.openejb.core.ivm.naming.IvmContext.prune()

        }

        try {
            IvmContext ivmContext = (IvmContext) globalContext;
            ivmContext.prune("openejb/Deployment");
            ivmContext.prune("openejb/ejb");
        } catch (NamingException e) {
            undeployException.getCauses().add(new Exception("Unable to prune openejb/Deployments and openejb/ejb namespaces, this could cause future deployments to fail.", e));
        }

        for (CoreDeploymentInfo deployment : deployments) {
View Full Code Here

Examples of org.apache.openejb.core.ivm.naming.IvmContext.prune()

        }

        try {
            if (globalContext instanceof IvmContext) {
                IvmContext ivmContext = (IvmContext) globalContext;
                ivmContext.prune("openejb/Deployment");
                ivmContext.prune("openejb/local");
                ivmContext.prune("openejb/remote");
            }
        } catch (NamingException e) {
            undeployException.getCauses().add(new Exception("Unable to prune openejb/Deployments and openejb/local namespaces, this could cause future deployments to fail.", e));
View Full Code Here

Examples of org.apache.openejb.core.ivm.naming.IvmContext.prune()

        try {
            if (globalContext instanceof IvmContext) {
                IvmContext ivmContext = (IvmContext) globalContext;
                ivmContext.prune("openejb/Deployment");
                ivmContext.prune("openejb/local");
                ivmContext.prune("openejb/remote");
            }
        } catch (NamingException e) {
            undeployException.getCauses().add(new Exception("Unable to prune openejb/Deployments and openejb/local namespaces, this could cause future deployments to fail.", e));
        }
View Full Code Here

Examples of org.apache.openejb.core.ivm.naming.IvmContext.prune()

        try {
            if (globalContext instanceof IvmContext) {
                IvmContext ivmContext = (IvmContext) globalContext;
                ivmContext.prune("openejb/Deployment");
                ivmContext.prune("openejb/local");
                ivmContext.prune("openejb/remote");
            }
        } catch (NamingException e) {
            undeployException.getCauses().add(new Exception("Unable to prune openejb/Deployments and openejb/local namespaces, this could cause future deployments to fail.", e));
        }
View Full Code Here

Examples of org.dspace.checker.ResultsPruner.prune()

            catch (FileNotFoundException e)
            {
                e.printStackTrace();
                System.exit(1);
            }
            int count = rp.prune();
            System.out.println("Pruned " + count
                    + " old results from the database.");
        }

        Date processStart = Calendar.getInstance().getTime();
View Full Code Here

Examples of org.eclipse.xtext.parsetree.reconstr.impl.NodeIterator.prune()

        for(ILeafNode leadingHiddenNode : leadingAndTrailingHiddenTokens.getFirst()) {
          if(tokenUtil.isCommentNode(leadingHiddenNode)) {
            currentComments.add(leadingHiddenNode);
          }
        }
        nodeIterator.prune();
        currentEObject = tokenUtil.getTokenOwner(node);
        if(currentEObject != null) {
          mapping.acceptBefore(currentEObject, currentComments);
          // addMapping(mapping, currentComments, currentEObject);
          if(node.getOffset() > rootNode.getOffset() + rootNode.getLength()) {
View Full Code Here

Examples of org.jboss.forge.furnace.proxy.javassist.bytecode.ClassFile.prune()

                cf.write(out);
                out.flush();
                fieldInitializers = null;
                if (doPruning) {
                    // to save memory
                    cf.prune();
                    wasPruned = true;
                }
            }
            else {
                classPool.writeClassfile(getName(), out);
View Full Code Here

Examples of org.jfree.data.xy.DefaultTableXYDataset.prune()

    public void testPrune() {
        DefaultTableXYDataset dataset = new DefaultTableXYDataset();
        dataset.addSeries(createSeries1());
        dataset.addSeries(createSeries2());
        dataset.removeSeries(1);
        dataset.prune();
        assertEquals(4, dataset.getItemCount());
    }

    /**
     * Tests the auto-pruning feature.
View Full Code Here

Examples of org.jfree.data.xy.DefaultTableXYDataset.prune()

    public void testPrune() {
        DefaultTableXYDataset dataset = new DefaultTableXYDataset();
        dataset.addSeries(createSeries1());
        dataset.addSeries(createSeries2());
        dataset.removeSeries(1);
        dataset.prune();
        assertEquals(4, dataset.getItemCount());
    }

    /**
     * Tests the auto-pruning feature.
View Full Code Here

Examples of org.jfree.xml.generator.model.DescriptionModel.prune()

        catch (Exception e) {
            Log.debug("Unable to load default model. Ignoring...");
        }
//        Log.debug (model.getModelComments());
        model = generate(source, p, model);
        model.prune();
        writeMultiFile(target, model);
        System.exit(0);
    }

    /**
 
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.