Top Description Methods
org.hibernate.action.spi

public Interface Executable

Known Direct Implementers
org.hibernate.action.internal.BulkOperationCleanupAction, org.hibernate.action.internal.CollectionAction, org.hibernate.action.internal.EntityAction
Imports
java.io.Serializable, org.hibernate.HibernateException, org.hibernate.engine.spi.SharedSessionContractImplementor

An operation which may be scheduled for later execution. Usually, the operation is a database insert/update/delete, together with required second-level cache management.
Authors
Gavin King, Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
afterDeserialize(SharedSessionContractImplementor
The session being deserialized
session
)

Reconnect to session after deserialization

public void
beforeExecutions()

Called before executing any actions.

public void
execute()

Execute this action.

public AfterTransactionCompletionProcess

Returns:

The after-transaction-completion process, or null if we have no after-transaction-completion process
getAfterTransactionCompletionProcess
()

Get the after-transaction-completion process, if any, for this action.

public BeforeTransactionCompletionProcess

Returns:

The before-transaction-completion process, or null if we have no before-transaction-completion process
getBeforeTransactionCompletionProcess
()

Get the before-transaction-completion process, if any, for this action.

public Serializable[]

Returns:

The spaces affected by this action.
getPropertySpaces
()

What spaces (tables) are affected by this action?

Method Detail

afterDeserializeback to summary
public void afterDeserialize(SharedSessionContractImplementor session)

Reconnect to session after deserialization

Parameters
session:SharedSessionContractImplementor

The session being deserialized

beforeExecutionsback to summary
public void beforeExecutions() throws HibernateException

Called before executing any actions. Gives actions a chance to perform any preparation.

Exceptions
HibernateException:
Indicates a problem during preparation.
executeback to summary
public void execute() throws HibernateException

Execute this action.

Exceptions
HibernateException:
Indicates a problem during execution.
getAfterTransactionCompletionProcessback to summary
public AfterTransactionCompletionProcess getAfterTransactionCompletionProcess()

Get the after-transaction-completion process, if any, for this action.

Returns:AfterTransactionCompletionProcess

The after-transaction-completion process, or null if we have no after-transaction-completion process

getBeforeTransactionCompletionProcessback to summary
public BeforeTransactionCompletionProcess getBeforeTransactionCompletionProcess()

Get the before-transaction-completion process, if any, for this action.

Returns:BeforeTransactionCompletionProcess

The before-transaction-completion process, or null if we have no before-transaction-completion process

getPropertySpacesback to summary
public Serializable[] getPropertySpaces()

What spaces (tables) are affected by this action?

Returns:Serializable[]

The spaces affected by this action.