Package org.cxbox.model.core.tx
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
-
Field Summary
Fields inherited from interface org.cxbox.api.service.tx.DeploymentTransactionSupport
SERVICE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidvoiddestroy()voidinit()protected booleanvoidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) protected void
-
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:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
beginDeploymentTransaction
protected void beginDeploymentTransaction() -
commitDeploymentTransaction
protected void commitDeploymentTransaction() -
rollbackDeploymentTransaction
protected void rollbackDeploymentTransaction()
-