Package org.hibernate.action.spi
This SPI package defines an abstraction over the notion of an "action"
which is scheduled for asynchronous execution by the event listeners.
Every action implements
Executable
.
The ActionQueue
is responsible for
scheduling and execution of the actions.
This package also defines the SPI callback interfaces for the
ActionQueue
, allowing registration of
custom AfterTransactionCompletionProcess
and BeforeTransactionCompletionProcess
processors.
-
Interface Summary Interface Description AfterTransactionCompletionProcess Contract representing some process that needs to occur during after transaction completion.BeforeTransactionCompletionProcess Contract representing some process that needs to occur during before transaction completion.Executable An operation which may be scheduled for later execution.