Nuxeo Enterprise Platform 5.4

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 Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.