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

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


    /**
     * Test producing and consuming an unlock operation.
     * @throws Exception
     */
    public void testUnlockOperation() throws Exception {
        UnlockEvent event = new UnlockEvent(new NodeId(UUID.randomUUID()));

        master.createLockChannel(DEFAULT_WORKSPACE).create(event.getNodeId()).ended(true);

        SimpleEventListener listener = new SimpleEventListener();
        slave.createLockChannel(DEFAULT_WORKSPACE).setListener(listener);
        slave.sync();

View Full Code Here


    /**
     * Test producing and consuming an unlock operation.
     * @throws Exception
     */
    public void testUnlockOperation() throws Exception {
        UnlockEvent event = new UnlockEvent(new NodeId(UUID.randomUUID()));

        master.createLockChannel(DEFAULT_WORKSPACE).create(event.getNodeId()).ended(true);

        SimpleEventListener listener = new SimpleEventListener();
        slave.createLockChannel(DEFAULT_WORKSPACE).setListener(listener);
        slave.sync();

View Full Code Here

    /**
     * Test producing and consuming an unlock operation.
     * @throws Exception
     */
    public void testUnlockOperation() throws Exception {
        UnlockEvent event = new UnlockEvent(NodeId.randomId());

        master.createLockChannel(DEFAULT_WORKSPACE).create(event.getNodeId()).ended(true);

        SimpleEventListener listener = new SimpleEventListener();
        slave.createLockChannel(DEFAULT_WORKSPACE).setListener(listener);
        slave.sync();

View Full Code Here

    /**
     * Test producing and consuming an unlock operation.
     * @throws Exception
     */
    public void testUnlockOperation() throws Exception {
        UnlockEvent event = new UnlockEvent(new NodeId());

        master.createLockChannel(DEFAULT_WORKSPACE).create(event.getNodeId()).ended(true);

        SimpleEventListener listener = new SimpleEventListener();
        slave.createLockChannel(DEFAULT_WORKSPACE).setListener(listener);
        slave.sync();

View Full Code Here

    /**
     * Test producing and consuming an unlock operation.
     * @throws Exception
     */
    public void testUnlockOperation() throws Exception {
        UnlockEvent event = new UnlockEvent(new NodeId(UUID.randomUUID()));

        master.createLockChannel(DEFAULT_WORKSPACE).create(event.getNodeId()).ended(true);

        SimpleEventListener listener = new SimpleEventListener();
        slave.createLockChannel(DEFAULT_WORKSPACE).setListener(listener);
        slave.sync();

View Full Code Here

    /**
     * Test producing and consuming an unlock operation.
     * @throws Exception
     */
    public void testUnlockOperation() throws Exception {
        UnlockEvent event = new UnlockEvent(new NodeId());

        master.createLockChannel(DEFAULT_WORKSPACE).create(event.getNodeId()).ended(true);

        SimpleEventListener listener = new SimpleEventListener();
        slave.createLockChannel(DEFAULT_WORKSPACE).setListener(listener);
        slave.sync();

View Full Code Here

    /**
     * Test producing and consuming an unlock operation.
     * @throws Exception
     */
    public void testUnlockOperation() throws Exception {
        UnlockEvent event = new UnlockEvent(new NodeId(UUID.randomUUID()));

        master.createLockChannel(DEFAULT_WORKSPACE).create(event.getNodeId()).ended(true);

        SimpleEventListener listener = new SimpleEventListener();
        slave.createLockChannel(DEFAULT_WORKSPACE).setListener(listener);
        slave.sync();

View Full Code Here

TOP

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

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.