|
3.1.2: 2012-07-31 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.basedb.core.DropDynamicTableAction
class DropDynamicTableAction
Transactional action that can drop a table from the dynamic database after a successful commit and/or rollback.
Field Summary | |
---|---|
private boolean |
atCommit
|
private boolean |
atRollback
|
private String |
tableName
|
Constructor Summary | |
---|---|
DropDynamicTableAction(String tableName,
boolean atCommit,
boolean atRollback)
Create a new drop table action. |
Method Summary | |
---|---|
void |
onAfterCommit()
Called after a successful commit. |
void |
onBeforeCommit()
This method is called before the commit is about to happen. |
void |
onRollback()
Called after an unsuccessful commit. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final String tableName
private final boolean atCommit
private final boolean atRollback
Constructor Detail |
---|
DropDynamicTableAction(String tableName, boolean atCommit, boolean atRollback)
tableName
- The name of the dynamic table that should be droppedatCommit
- If TRUE, the table should be dropped after a successful commitatRollback
- If TRUE, the table should be dropped after a rollbackMethod Detail |
---|
public void onBeforeCommit()
TransactionalAction
onBeforeCommit
in interface TransactionalAction
public void onAfterCommit()
TransactionalAction
onAfterCommit
in interface TransactionalAction
public void onRollback()
TransactionalAction
onRollback
in interface TransactionalAction
|
3.1.2: 2012-07-31 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |