Package org.apache.jackrabbit.oak.plugins.commit

Examples of org.apache.jackrabbit.oak.plugins.commit.ConflictHook


     * @return this builder
     */
    @Nonnull
    public Oak with(@Nonnull ConflictHandler conflictHandler) {
        withEditorHook();
        commitHooks.add(new ConflictHook(conflictHandler));
        return this;
    }
View Full Code Here


                    throw CONCURRENT_UPDATE;
                }
            }
        };
        CompositeHook hooks = new CompositeHook(
                new ConflictHook(new AnnotatingConflictHandler()),
                new EditorHook(new ConflictValidatorProvider()),
                concurrentUpdateCheck);
        store.merge(builder, hooks, CommitInfo.EMPTY);
    }
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.plugins.commit.ConflictHook

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.