Package ome.services.sharing
Class ShareRestrictionTransactionAttributeSource
- java.lang.Object
-
- ome.services.sharing.ShareRestrictionTransactionAttributeSource
-
- All Implemented Interfaces:
org.springframework.transaction.interceptor.TransactionAttributeSource
public class ShareRestrictionTransactionAttributeSource extends java.lang.Object implements org.springframework.transaction.interceptor.TransactionAttributeSource
Prevents methods from setting the transaction to readOnly = false when a share is activated.
-
-
Constructor Summary
Constructors Constructor Description ShareRestrictionTransactionAttributeSource(CurrentDetails details, SessionCache cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.transaction.interceptor.TransactionAttribute
getTransactionAttribute(java.lang.reflect.Method method, java.lang.Class targetClass)
-
-
-
Constructor Detail
-
ShareRestrictionTransactionAttributeSource
public ShareRestrictionTransactionAttributeSource(CurrentDetails details, SessionCache cache)
-
-
Method Detail
-
getTransactionAttribute
public org.springframework.transaction.interceptor.TransactionAttribute getTransactionAttribute(java.lang.reflect.Method method, java.lang.Class targetClass)
- Specified by:
getTransactionAttribute
in interfaceorg.springframework.transaction.interceptor.TransactionAttributeSource
-
-