Package org.modeshape.jcr.api

Examples of org.modeshape.jcr.api.Session.refresh()


        assertFalse(output.hasNode(TestSequencersHolder.DERIVED_NODE_NAME));

        session.sequence("Counting sequencer", content, output);
        assertTrue(output.hasNode(TestSequencersHolder.DERIVED_NODE_NAME));

        session.refresh(false);

        assertFalse(session.getRootNode().hasNode("files"));
        assertFalse(session.getRootNode().hasNode("output"));
    }
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.