Package org.modeshape.jcr.JcrObservationManager

Examples of org.modeshape.jcr.JcrObservationManager.JcrEventBundle


    @Test
    public void shouldTestEventIteratorTest_testSkip() throws Exception {
        // create events
        List<Event> events = new ArrayList<Event>();
        DateTime now = session.dateFactory().create();
        JcrEventBundle bundle = new JcrEventBundle(now, "userId", null);
        String id1 = UUID.randomUUID().toString();
        String id2 = UUID.randomUUID().toString();
        String id3 = UUID.randomUUID().toString();
        events.add(new JcrObservationManager.JcrEvent(bundle, Event.NODE_ADDED, "/testroot/node1",
                                                                                 id1, nodeType(JcrNtLexicon.UNSTRUCTURED), null));
View Full Code Here

TOP

Related Classes of org.modeshape.jcr.JcrObservationManager.JcrEventBundle

Copyright © 2018 www.massapicom. 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.