Class OperationContextEventHandler
java.lang.Object
com.iohao.net.extension.room.operation.OperationContextEventHandler
- All Implemented Interfaces:
DomainEventHandler<OperationContext>
public final class OperationContextEventHandler
extends Object
implements DomainEventHandler<OperationContext>
Domain-event handler that executes room operation contexts and reports user-facing exceptions.
- Since:
- 21.8
- Author:
- 渔民小镇
- date:
- 2024-05-12
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonEvent(OperationContext operationContext, boolean endOfBatch) Event handlingMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DomainEventHandler
getName, onEvent
-
Constructor Details
-
OperationContextEventHandler
public OperationContextEventHandler()
-
-
Method Details
-
onEvent
Description copied from interface:DomainEventHandlerEvent handling- Specified by:
onEventin interfaceDomainEventHandler<OperationContext>- Parameters:
operationContext- domain entityendOfBatch- endOfBatch
-