Class UpdateEventSourceInterceptor
java.lang.Object
io.micronaut.coherence.data.interceptors.AbstractEventSourceInterceptor
io.micronaut.coherence.data.interceptors.UpdateEventSourceInterceptor
- All Implemented Interfaces:
io.micronaut.aop.Interceptor
,io.micronaut.aop.MethodInterceptor
,io.micronaut.core.order.Ordered
@Singleton
@InterceptorBean(UpdateEventSource.class)
public class UpdateEventSourceInterceptor
extends AbstractEventSourceInterceptor
An
interceptor
for update
events.-
Nested Class Summary
Nested classes/interfaces inherited from class io.micronaut.coherence.data.interceptors.AbstractEventSourceInterceptor
AbstractEventSourceInterceptor.EventGroup, AbstractEventSourceInterceptor.EventType
-
Field Summary
Fields inherited from class io.micronaut.coherence.data.interceptors.AbstractEventSourceInterceptor
registry
Fields inherited from interface io.micronaut.aop.Interceptor
ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGET
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionUpdateEventSourceInterceptor
(io.micronaut.data.model.runtime.RuntimeEntityRegistry registry) Constructs a newUpdateEventSourceInterceptor
. -
Method Summary
Modifier and TypeMethodDescriptionReturn theEventGroup
handled by this interceptor.Return thePOST
event type this interceptor wishes to emit.Return thePRE
event type this interceptor wishes to emit.Methods inherited from class io.micronaut.coherence.data.interceptors.AbstractEventSourceInterceptor
intercept, trigger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.aop.MethodInterceptor
intercept
Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Constructor Details
-
UpdateEventSourceInterceptor
public UpdateEventSourceInterceptor(io.micronaut.data.model.runtime.RuntimeEntityRegistry registry) Constructs a newUpdateEventSourceInterceptor
.- Parameters:
registry
- theRuntimeEntityRegistry
-
-
Method Details
-
getEventGroup
Description copied from class:AbstractEventSourceInterceptor
Return theEventGroup
handled by this interceptor.- Specified by:
getEventGroup
in classAbstractEventSourceInterceptor
- Returns:
- the
EventGroup
handled by this interceptor
-
getHandledPreEventType
Description copied from class:AbstractEventSourceInterceptor
Return thePRE
event type this interceptor wishes to emit.- Specified by:
getHandledPreEventType
in classAbstractEventSourceInterceptor
- Returns:
- the
PRE
event type this interceptor wishes to emit
-
getHandledPostEventType
Description copied from class:AbstractEventSourceInterceptor
Return thePOST
event type this interceptor wishes to emit.- Specified by:
getHandledPostEventType
in classAbstractEventSourceInterceptor
- Returns:
- the
POST
event type this interceptor wishes to emit
-