Class CaldavManagedDisconnectionListener

java.lang.Object
org.exoplatform.caldav.listener.CaldavManagedDisconnectionListener

@Component public class CaldavManagedDisconnectionListener extends Object
Hands the disconnections an administrator's change causes to CaldavManagedDisconnectionService, which runs them in the background.

After the commit, with fallbackExecution: the change being answered must be stored before its users are read, and a managed-mode write runs without a Spring transaction.

  • Constructor Details

    • CaldavManagedDisconnectionListener

      public CaldavManagedDisconnectionListener()
  • Method Details

    • handleManagedModeChanged

      @TransactionalEventListener(phase=AFTER_COMMIT, fallbackExecution=true) public void handleManagedModeChanged(CaldavManagedModeChangedEvent event)
    • handleProviderChanged

      @TransactionalEventListener(phase=AFTER_COMMIT, fallbackExecution=true) public void handleProviderChanged(CaldavServerProviderChangedEvent event)