mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)
84689: Merged ACE-2801 to HEAD-BUG-FIX (5.0.0) 84505: Fix ACE-2801: Method signature change for AlfrescoTransactionSupport.bindListener - Added overloaded method that accepts the old TransactionListener as well. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@85096 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -246,6 +246,18 @@ public abstract class AlfrescoTransactionSupport extends TransactionSupportUtil
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Method maintained for backward compatibility:
|
||||
* <a href="https://issues.alfresco.com/jira/browse/ACE-2801">ACE-2801: Package change for TransactionListener</a>.
|
||||
*
|
||||
* @see TransactionSupportUtil
|
||||
* @see #bindListener(org.alfresco.util.transaction.TransactionListener)
|
||||
*/
|
||||
public static void bindListener(org.alfresco.repo.transaction.TransactionListener listener)
|
||||
{
|
||||
AlfrescoTransactionSupport.bindListener((org.alfresco.util.transaction.TransactionListener) listener);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method that registers a <tt>Listener</tt> against
|
||||
* the transaction.
|
||||
@@ -254,6 +266,8 @@ public abstract class AlfrescoTransactionSupport extends TransactionSupportUtil
|
||||
*
|
||||
* @param indexerAndSearcher the Lucene indexer to perform transaction completion
|
||||
* tasks on
|
||||
*
|
||||
* @since 5.0
|
||||
*/
|
||||
public static void bindListener(TransactionListener listener)
|
||||
{
|
||||
|
Reference in New Issue
Block a user