Package net.sf.basedb.core
Class AnnotationType.RemoveInheritedAnnotationsAction
- java.lang.Object
-
- net.sf.basedb.core.AnnotationType.RemoveInheritedAnnotationsAction
-
- All Implemented Interfaces:
TransactionalAction
- Enclosing class:
- AnnotationType
static class AnnotationType.RemoveInheritedAnnotationsAction extends Object implements TransactionalAction
-
-
Field Summary
Fields Modifier and Type Field Description private AnnotationType
at
-
Constructor Summary
Constructors Constructor Description RemoveInheritedAnnotationsAction(AnnotationType at)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Field Detail
-
at
private final AnnotationType at
-
-
Constructor Detail
-
RemoveInheritedAnnotationsAction
public RemoveInheritedAnnotationsAction(AnnotationType at)
-
-
Method Detail
-
onBeforeCommit
public void onBeforeCommit()
Description copied from interface:TransactionalAction
This method is called before the commit is about to happen. If this method throws an exception the transaction will be rolled back.- Specified by:
onBeforeCommit
in interfaceTransactionalAction
-
onAfterCommit
public void onAfterCommit()
Description copied from interface:TransactionalAction
Called after a successful commit. Implementations should not throw any exceptions from this method. If they do, the message is logged, by no other action is taken.- Specified by:
onAfterCommit
in interfaceTransactionalAction
-
onRollback
public void onRollback()
Description copied from interface:TransactionalAction
Called after an unsuccessful commit. Implementations should not throw any exceptions from this method. If they do, the message is logged, by no other action is taken.- Specified by:
onRollback
in interfaceTransactionalAction
-
-