Class TransactionalInterceptor
java.lang.Object
dev.voidframework.persistence.AbstractTransactionalInterceptor
dev.voidframework.persistence.hibernate.module.TransactionalInterceptor
- All Implemented Interfaces:
org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor
Intercepts method call when annotation
Transactional is used.- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninvoke(org.aopalliance.intercept.MethodInvocation methodInvocation) voidsetDataSourceManagerProvider(EntityManagerProvider entityManagerProvider) Sets the entity manager provider.Methods inherited from class dev.voidframework.persistence.AbstractTransactionalInterceptor
hasToRollback
-
Constructor Details
-
TransactionalInterceptor
public TransactionalInterceptor()
-
-
Method Details
-
setDataSourceManagerProvider
Sets the entity manager provider.- Parameters:
entityManagerProvider- The entity manager provider- Since:
- 1.0.0
-
invoke
- Throws:
Throwable
-