public class CommitAfterWorker extends Object implements ComponentClassTransformWorker2
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 and Description |
---|
CommitAfterWorker(HibernateSessionManager manager) |
Modifier and Type | Method and Description |
---|---|
void |
transform(PlasticClass plasticClass,
TransformationSupport support,
MutableComponentModel model)
Invoked to perform part of the transformation of the
PlasticClass . |
public CommitAfterWorker(HibernateSessionManager manager)
public void transform(PlasticClass plasticClass, TransformationSupport support, MutableComponentModel model)
ComponentClassTransformWorker2
PlasticClass
.transform
in interface ComponentClassTransformWorker2
plasticClass
- component class being transformedsupport
- additional utilities needed during the transformationmodel
- the model for the component being transformed${project.version} - Copyright © 2003-2015 The Apache Software Foundation.