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 theSharedItemStateManager
class.
-
-
Constructor Summary
Constructors Constructor Description DummyUpdateEventChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setListener(UpdateEventListener listener)
Set listener that will receive information about incoming, external update events.void
updateCancelled(Update update)
Called when an a update operation has been cancelled.void
updateCommitted(Update update, String path)
Called when an a update operation has been committed.void
updateCreated(Update update)
Called when an a update operation has been created.void
updatePrepared(Update update)
Called when an a update operation has been prepared.
-
-
-
Method Detail
-
updatePrepared
public void updatePrepared(Update update)
Description copied from interface:UpdateEventChannel
Called when an a update operation has been prepared.- Specified by:
updatePrepared
in interfaceUpdateEventChannel
- Parameters:
update
- update operation
-
updateCreated
public void updateCreated(Update update)
Description copied from interface:UpdateEventChannel
Called when an a update operation has been created.- Specified by:
updateCreated
in interfaceUpdateEventChannel
- Parameters:
update
- update operation
-
updateCommitted
public void updateCommitted(Update update, String path)
Description copied from interface:UpdateEventChannel
Called when an a update operation has been committed.- Specified by:
updateCommitted
in interfaceUpdateEventChannel
- Parameters:
update
- update operationpath
- the change path
-
updateCancelled
public void updateCancelled(Update update)
Description copied from interface:UpdateEventChannel
Called when an a update operation has been cancelled.- Specified by:
updateCancelled
in interfaceUpdateEventChannel
- Parameters:
update
- update operation
-
setListener
public void setListener(UpdateEventListener listener)
Description copied from interface:UpdateEventChannel
Set listener that will receive information about incoming, external update events.- Specified by:
setListener
in interfaceUpdateEventChannel
- Parameters:
listener
- update event listener
-
-