Class PersistEventSourceInterceptor
java.lang.Object
io.micronaut.coherence.data.interceptors.AbstractEventSourceInterceptor
io.micronaut.coherence.data.interceptors.PersistEventSourceInterceptor
- All Implemented Interfaces:
io.micronaut.aop.Interceptor, io.micronaut.aop.MethodInterceptor, io.micronaut.core.order.Ordered
@Singleton
@InterceptorBean(PersistEventSource.class)
public class PersistEventSourceInterceptor
extends AbstractEventSourceInterceptor
An
interceptor for persist events.-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractEventSourceInterceptor
AbstractEventSourceInterceptor.EventGroup, AbstractEventSourceInterceptor.EventType -
Field Summary
Fields inherited from class AbstractEventSourceInterceptor
registryFields inherited from interface io.micronaut.aop.Interceptor
ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGETFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionPersistEventSourceInterceptor(io.micronaut.data.model.runtime.RuntimeEntityRegistry registry) Constructs a newPersistEventSourceInterceptor. -
Method Summary
Modifier and TypeMethodDescriptionReturn theEventGrouphandled by this interceptor.Return thePOSTevent type this interceptor wishes to emit.Return thePREevent type this interceptor wishes to emit.Methods inherited from class AbstractEventSourceInterceptor
intercept, triggerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.aop.MethodInterceptor
interceptMethods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Constructor Details
-
PersistEventSourceInterceptor
public PersistEventSourceInterceptor(io.micronaut.data.model.runtime.RuntimeEntityRegistry registry) Constructs a newPersistEventSourceInterceptor.- Parameters:
registry- theRuntimeEntityRegistry
-
-
Method Details
-
getEventGroup
Description copied from class:AbstractEventSourceInterceptorReturn theEventGrouphandled by this interceptor.- Specified by:
getEventGroupin classAbstractEventSourceInterceptor- Returns:
- the
EventGrouphandled by this interceptor
-
getHandledPreEventType
Description copied from class:AbstractEventSourceInterceptorReturn thePREevent type this interceptor wishes to emit.- Specified by:
getHandledPreEventTypein classAbstractEventSourceInterceptor- Returns:
- the
PREevent type this interceptor wishes to emit
-
getHandledPostEventType
Description copied from class:AbstractEventSourceInterceptorReturn thePOSTevent type this interceptor wishes to emit.- Specified by:
getHandledPostEventTypein classAbstractEventSourceInterceptor- Returns:
- the
POSTevent type this interceptor wishes to emit
-