FileDocCategorySizeDatePackage
Executable.javaAPI DocHibernate 3.2.51083Fri Apr 29 10:26:12 BST 2005org.hibernate.action

Executable

public interface Executable
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.
author
Gavin King

Fields Summary
Constructors Summary
Methods Summary
public voidafterTransactionCompletion(boolean success)
Called after the transaction completes

public voidbeforeExecutions()
Called before executing any actions

public voidexecute()
Execute this action

public java.io.Serializable[]getPropertySpaces()
What spaces (tables) are affected by this action?

public booleanhasAfterTransactionCompletion()
Do we need to retain this instance until after the transaction completes?

return
false if this class defines a no-op hasAfterTransactionCompletion()