Package org.apache.jackrabbit.core.state
Class DummyUpdateEventChannel
- java.lang.Object
-
- org.apache.jackrabbit.core.state.DummyUpdateEventChannel
-
- All Implemented Interfaces:
UpdateEventChannel
public class DummyUpdateEventChannel extends Object implements UpdateEventChannel
Package-private utility class used as a sentinel by theSharedItemStateManagerclass.
-
-
Constructor Summary
Constructors Constructor Description DummyUpdateEventChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetListener(UpdateEventListener listener)Set listener that will receive information about incoming, external update events.voidupdateCancelled(Update update)Called when an a update operation has been cancelled.voidupdateCommitted(Update update, String path)Called when an a update operation has been committed.voidupdateCreated(Update update)Called when an a update operation has been created.voidupdatePrepared(Update update)Called when an a update operation has been prepared.
-
-
-
Method Detail
-
updatePrepared
public void updatePrepared(Update update)
Description copied from interface:UpdateEventChannelCalled when an a update operation has been prepared.- Specified by:
updatePreparedin interfaceUpdateEventChannel- Parameters:
update- update operation
-
updateCreated
public void updateCreated(Update update)
Description copied from interface:UpdateEventChannelCalled when an a update operation has been created.- Specified by:
updateCreatedin interfaceUpdateEventChannel- Parameters:
update- update operation
-
updateCommitted
public void updateCommitted(Update update, String path)
Description copied from interface:UpdateEventChannelCalled when an a update operation has been committed.- Specified by:
updateCommittedin interfaceUpdateEventChannel- Parameters:
update- update operationpath- the change path
-
updateCancelled
public void updateCancelled(Update update)
Description copied from interface:UpdateEventChannelCalled when an a update operation has been cancelled.- Specified by:
updateCancelledin interfaceUpdateEventChannel- Parameters:
update- update operation
-
setListener
public void setListener(UpdateEventListener listener)
Description copied from interface:UpdateEventChannelSet listener that will receive information about incoming, external update events.- Specified by:
setListenerin interfaceUpdateEventChannel- Parameters:
listener- update event listener
-
-