Examples of JournalEntryContext


Examples of org.fcrepo.server.journal.entry.JournalEntryContext

                     MockJournalRecoveryLog.class.getName());
    }

    @Before
    public void initializeContextObjects() {
        leadingContext = new JournalEntryContext();
        expectedContext = null;
        contextAdditions = new HashMap<RDFName, String[]>();
    }
View Full Code Here

Examples of org.fcrepo.server.journal.entry.JournalEntryContext

    /**
     * The {@link #expectedContext} should be like the {@link #leadingContext},
     * with the addition of anything we expect the management method to add.
     */
    private void loadExpectedContext() {
        expectedContext = new JournalEntryContext(leadingContext);
        for (Map.Entry<RDFName, String[]> entry : contextAdditions.entrySet()) {
            expectedContext.getRecoveryAttributes().set(entry.getKey().uri,
                                                            entry.getValue());
        }
    }
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.