Package org.apache.jackrabbit.core.cluster.SimpleEventListener

Examples of org.apache.jackrabbit.core.cluster.SimpleEventListener.UpdateEvent


    /**
     * Test producing and consuming an update.
     * @throws Exception
     */
    public void testUpdateOperation() throws Exception {
        UpdateEvent update = factory.createUpdateOperation();

        UpdateEventChannel channel = master.createUpdateChannel(DEFAULT_WORKSPACE);
        channel.updateCreated(update);
        channel.updatePrepared(update);
        channel.updateCommitted(update, null);
View Full Code Here


    /**
     * Test producing and consuming an update with a null userId
     */
    public void testUpdateOperationWithNullUserId() throws Exception {
        UpdateEvent update = factory.createUpdateOperationWithNullUserId();

        UpdateEventChannel channel = master.createUpdateChannel(DEFAULT_WORKSPACE);
        channel.updateCreated(update);
        channel.updatePrepared(update);
        channel.updateCommitted(update, null);
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.core.cluster.SimpleEventListener.UpdateEvent

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.