Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.listener
Interface PostCommitListener

All Superinterfaces:
TransactedListener
All Known Implementing Classes:
TestTransactedListener

public interface PostCommitListener
extends TransactedListener

This listener will be notified after the transaction was committed.

Author:
Bogdan Stefanescu

Method Summary
 void onCommit(CoreEvent[] events)
          Current transaction was committed.
 void onCommit(Operation<?>[] events)
          Current transaction was committed.
 

Method Detail

onCommit

void onCommit(CoreEvent[] events)
Current transaction was committed.

This method should be used by listeners using the CoreEvent model and ignored by the one using Operation events.

Parameters:
events - all core events collected in current transaction.

onCommit

void onCommit(Operation<?>[] events)
Current transaction was committed.

This method should be used by listeners using the Operation events and ignored by the one using CoreEvent events.

Parameters:
events - all operation events collected in current transaction

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.