Class AbstractTransactionalEventListener

java.lang.Object
com.atlassian.crowd.listener.AbstractTransactionalEventListener
Direct Known Subclasses:
GroupMembershipChangeListener

public abstract class AbstractTransactionalEventListener extends Object
Base class for listeners that manage transactions on it's own.
  • Constructor Details

    • AbstractTransactionalEventListener

      public AbstractTransactionalEventListener(com.atlassian.event.api.EventPublisher eventPublisher, org.springframework.transaction.PlatformTransactionManager transactionManager, boolean enabled)
  • Method Details

    • register

      @PostConstruct public void register()
    • unregister

      @PreDestroy public void unregister()
    • isEnabled

      protected boolean isEnabled()
    • doInNewTransaction

      protected void doInNewTransaction(Runnable runnable)