|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.hibernate.CommitAfterWorker
public class CommitAfterWorker
Searches for methods that have the CommitAfter annotation and adds
logic around the method to commit or abort the transaction. The commit/abort logic is the same as for the HibernateTransactionDecorator service.
| Constructor Summary | |
|---|---|
CommitAfterWorker(HibernateSessionManager manager)
|
|
| Method Summary | |
|---|---|
void |
transform(ClassTransformation transformation,
MutableComponentModel model)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommitAfterWorker(HibernateSessionManager manager)
| Method Detail |
|---|
public void transform(ClassTransformation transformation,
MutableComponentModel model)
transform in interface ComponentClassTransformWorker
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||