@Singleton @InterceptorBean(value=UpdateEventSource.class) public class UpdateEventSourceInterceptor extends AbstractEventSourceInterceptor
interceptor for update events.AbstractEventSourceInterceptor.EventGroup, AbstractEventSourceInterceptor.EventTyperegistry| Constructor and Description |
|---|
UpdateEventSourceInterceptor(io.micronaut.data.model.runtime.RuntimeEntityRegistry registry)
Constructs a new
UpdateEventSourceInterceptor. |
| Modifier and Type | Method and Description |
|---|---|
AbstractEventSourceInterceptor.EventGroup |
getEventGroup()
Return the
EventGroup handled by this interceptor. |
AbstractEventSourceInterceptor.EventType |
getHandledPostEventType()
Return the
POST event type this interceptor wishes to emit. |
AbstractEventSourceInterceptor.EventType |
getHandledPreEventType()
Return the
PRE event type this interceptor wishes to emit. |
intercept, triggerpublic UpdateEventSourceInterceptor(io.micronaut.data.model.runtime.RuntimeEntityRegistry registry)
UpdateEventSourceInterceptor.registry - the RuntimeEntityRegistrypublic AbstractEventSourceInterceptor.EventGroup getEventGroup()
AbstractEventSourceInterceptorEventGroup handled by this interceptor.getEventGroup in class AbstractEventSourceInterceptorEventGroup handled by this interceptorpublic AbstractEventSourceInterceptor.EventType getHandledPreEventType()
AbstractEventSourceInterceptorPRE event type this interceptor wishes to emit.getHandledPreEventType in class AbstractEventSourceInterceptorPRE event type this interceptor wishes to emitpublic AbstractEventSourceInterceptor.EventType getHandledPostEventType()
AbstractEventSourceInterceptorPOST event type this interceptor wishes to emit.getHandledPostEventType in class AbstractEventSourceInterceptorPOST event type this interceptor wishes to emit