Package org.fcrepo.server.journal.entry

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


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

Related Classes of org.fcrepo.server.journal.entry.JournalEntryContext

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.