Class DeploymentTransactionSupportImpl

java.lang.Object
org.cxbox.model.core.tx.DeploymentTransactionSupportImpl
All Implemented Interfaces:
EventListener, DeploymentTransactionSupport, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>

@Service("deploymentTransactionSupport") public class DeploymentTransactionSupportImpl extends Object implements DeploymentTransactionSupport, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.beans.factory.DisposableBean
  • Constructor Details

    • DeploymentTransactionSupportImpl

      public DeploymentTransactionSupportImpl()
  • Method Details

    • isEnabled

      protected boolean isEnabled()
    • init

      @PostConstruct public void init()
    • onApplicationEvent

      public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
    • beginDeploymentTransaction

      protected void beginDeploymentTransaction()
    • commitDeploymentTransaction

      protected void commitDeploymentTransaction()
    • rollbackDeploymentTransaction

      protected void rollbackDeploymentTransaction()