Class ServiceSynchronization

java.lang.Object
org.apache.ofbiz.service.ServiceSynchronization
All Implemented Interfaces:
javax.transaction.Synchronization

public class ServiceSynchronization extends Object implements javax.transaction.Synchronization
This class is used to execute services when a transaction is either committed or rolled back. It should generally be accessed via LocalDispatcher's addCommitService and addRollbackService methods or by using the service ECA event attribute values global-commit, global-rollback or global-commit-post-run