Class CommitAfterWorker
- java.lang.Object
 - 
- org.apache.tapestry5.hibernate.web.internal.CommitAfterWorker
 
 
- 
- All Implemented Interfaces:
 ComponentClassTransformWorker2
public class CommitAfterWorker extends Object implements ComponentClassTransformWorker2
Searches for methods that have theCommitAfterannotation and adds logic around the method to commit or abort the transaction. The commit/abort logic is the same as for theHibernateTransactionDecoratorservice. 
- 
- 
Constructor Summary
Constructors Constructor Description CommitAfterWorker(HibernateSessionManager manager) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtransform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model)Invoked to perform part of the transformation of thePlasticClass. 
 - 
 
- 
- 
Constructor Detail
- 
CommitAfterWorker
public CommitAfterWorker(HibernateSessionManager manager)
 
 - 
 
- 
Method Detail
- 
transform
public void transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model)
Description copied from interface:ComponentClassTransformWorker2Invoked to perform part of the transformation of thePlasticClass.- Specified by:
 transformin interfaceComponentClassTransformWorker2- Parameters:
 plasticClass- component class being transformedsupport- additional utilities needed during the transformationmodel- the model for the component being transformed
 
 - 
 
 -