@Singleton @InterceptorBean(value=AsyncPersistEventSource.class) public class AsyncPersistEventSourceInterceptor extends AbstractAsyncEventSourceInterceptor
interceptor for persist events.AbstractEventSourceInterceptor.EventGroup, AbstractEventSourceInterceptor.EventTyperegistry| Constructor and Description |
|---|
AsyncPersistEventSourceInterceptor(io.micronaut.data.model.runtime.RuntimeEntityRegistry registry)
Constructs a new
AsyncPersistEventSourceInterceptor. |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractEventSourceInterceptor.EventGroup |
getEventGroup()
Return the
EventGroup handled by this interceptor. |
protected AbstractEventSourceInterceptor.EventType |
getHandledPostEventType()
Return the
POST event type this interceptor wishes to emit. |
protected AbstractEventSourceInterceptor.EventType |
getHandledPreEventType()
Return the
PRE event type this interceptor wishes to emit. |
intercepttriggerpublic AsyncPersistEventSourceInterceptor(io.micronaut.data.model.runtime.RuntimeEntityRegistry registry)
AsyncPersistEventSourceInterceptor.registry - the RuntimeEntityRegistryprotected AbstractEventSourceInterceptor.EventGroup getEventGroup()
AbstractEventSourceInterceptorEventGroup handled by this interceptor.getEventGroup in class AbstractEventSourceInterceptorEventGroup handled by this interceptorprotected AbstractEventSourceInterceptor.EventType getHandledPreEventType()
AbstractEventSourceInterceptorPRE event type this interceptor wishes to emit.getHandledPreEventType in class AbstractEventSourceInterceptorPRE event type this interceptor wishes to emitprotected AbstractEventSourceInterceptor.EventType getHandledPostEventType()
AbstractEventSourceInterceptorPOST event type this interceptor wishes to emit.getHandledPostEventType in class AbstractEventSourceInterceptorPOST event type this interceptor wishes to emit