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
Aninterceptor
forpersist
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
-
-
Constructor Summary
Constructors Constructor Description PersistEventSourceInterceptor(io.micronaut.data.model.runtime.RuntimeEntityRegistry registry)
Constructs a newPersistEventSourceInterceptor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractEventSourceInterceptor.EventGroup
getEventGroup()
Return theEventGroup
handled by this interceptor.AbstractEventSourceInterceptor.EventType
getHandledPostEventType()
Return thePOST
event type this interceptor wishes to emit.AbstractEventSourceInterceptor.EventType
getHandledPreEventType()
Return thePRE
event type this interceptor wishes to emit.-
Methods inherited from class io.micronaut.coherence.data.interceptors.AbstractEventSourceInterceptor
intercept, trigger
-
-
-
-
Method Detail
-
getEventGroup
public AbstractEventSourceInterceptor.EventGroup 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
public AbstractEventSourceInterceptor.EventType 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
public AbstractEventSourceInterceptor.EventType 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
-
-