Package org.keycloak.events
Class EventListenerTransaction
java.lang.Object
org.keycloak.models.AbstractKeycloakTransaction
org.keycloak.events.EventListenerTransaction
- All Implemented Interfaces:
KeycloakTransaction
-
Nested Class Summary
Nested classes/interfaces inherited from class org.keycloak.models.AbstractKeycloakTransaction
AbstractKeycloakTransaction.TransactionState
-
Field Summary
Fields inherited from class org.keycloak.models.AbstractKeycloakTransaction
state
-
Constructor Summary
ConstructorDescriptionEventListenerTransaction
(BiConsumer<AdminEvent, Boolean> adminEventConsumer, Consumer<Event> eventConsumer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdminEvent
(AdminEvent adminEvent, boolean includeRepresentation) void
protected void
protected void
Methods inherited from class org.keycloak.models.AbstractKeycloakTransaction
begin, beginImpl, commit, getRollbackOnly, getState, isActive, rollback, setRollbackOnly
-
Constructor Details
-
EventListenerTransaction
public EventListenerTransaction(BiConsumer<AdminEvent, Boolean> adminEventConsumer, Consumer<Event> eventConsumer)
-
-
Method Details
-
addAdminEvent
-
addEvent
-
commitImpl
protected void commitImpl()- Specified by:
commitImpl
in classAbstractKeycloakTransaction
-
rollbackImpl
protected void rollbackImpl()- Specified by:
rollbackImpl
in classAbstractKeycloakTransaction
-