|
||||||||||
| 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(PlasticClass plasticClass,
TransformationSupport support,
MutableComponentModel model)
Invoked to perform part of the transformation of the PlasticClass. |
| 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(PlasticClass plasticClass,
TransformationSupport support,
MutableComponentModel model)
ComponentClassTransformWorker2PlasticClass.
transform in interface ComponentClassTransformWorker2plasticClass - component class being transformedsupport - additional utilities needed during the transformationmodel - the model for the component being transformed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||