@Singleton @InterceptorBean(value=AsyncUpdateEventSource.class) public class AsyncUpdateEventSourceInterceptor extends AbstractAsyncEventSourceInterceptor
interceptor for update events.AbstractEventSourceInterceptor.EventGroup, AbstractEventSourceInterceptor.EventTyperegistry| Constructor and Description |
|---|
AsyncUpdateEventSourceInterceptor(io.micronaut.data.model.runtime.RuntimeEntityRegistry registry)
Constructs a new
AsyncUpdateEventSourceInterceptor. |
| 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. |
intercepttriggerpublic AsyncUpdateEventSourceInterceptor(io.micronaut.data.model.runtime.RuntimeEntityRegistry registry)
AsyncUpdateEventSourceInterceptor.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