Package org.eclipse.emf.cdo.server
Class IRepositoryProtector.CommitHandler
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.emf.cdo.server.IRepositoryProtector.Element
org.eclipse.emf.cdo.server.IRepositoryProtector.CommitHandler
- All Implemented Interfaces:
org.eclipse.net4j.util.container.IManagedContainerProvider
,org.eclipse.net4j.util.event.INotifier
,org.eclipse.net4j.util.event.INotifier.INotifier2
,org.eclipse.net4j.util.lifecycle.IDeactivateable
,org.eclipse.net4j.util.lifecycle.ILifecycle
,org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
- Enclosing interface:
- IRepositoryProtector
public abstract static class IRepositoryProtector.CommitHandler
extends IRepositoryProtector.Element
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Field Summary
Fields inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
USE_LABEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
afterCommit
(IStoreAccessor.CommitContext commitContext, IRepositoryProtector.UserInfo userInfo) Called after the commit has succeeded.abstract void
beforeCommit
(IStoreAccessor.CommitContext commitContext, IRepositoryProtector.UserInfo userInfo) Called before the commit is security checked and passed to the repository.Methods inherited from class org.eclipse.emf.cdo.server.IRepositoryProtector.Element
checkRepositoryProtector, doBeforeActivate, getContainer, getRepositoryProtector, setRepositoryProtector
Methods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doActivate, doAfterActivate, doBeforeDeactivate, doDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toString
Methods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Field Details
-
PRODUCT_GROUP
- See Also:
-
-
Constructor Details
-
CommitHandler
public CommitHandler()
-
-
Method Details
-
beforeCommit
public abstract void beforeCommit(IStoreAccessor.CommitContext commitContext, IRepositoryProtector.UserInfo userInfo) Called before the commit is security checked and passed to the repository. -
afterCommit
public abstract void afterCommit(IStoreAccessor.CommitContext commitContext, IRepositoryProtector.UserInfo userInfo) Called after the commit has succeeded.
-