ome.services.sharing
Class ShareRestrictionTransactionAttributeSource

java.lang.Object
  extended by ome.services.sharing.ShareRestrictionTransactionAttributeSource
All Implemented Interfaces:
org.springframework.transaction.interceptor.TransactionAttributeSource

public class ShareRestrictionTransactionAttributeSource
extends Object
implements org.springframework.transaction.interceptor.TransactionAttributeSource

Prevents methods from setting the transaction to readOnly = false when a share is activated.


Constructor Summary
ShareRestrictionTransactionAttributeSource(CurrentDetails details, SessionCache cache)
           
 
Method Summary
 org.springframework.transaction.interceptor.TransactionAttribute getTransactionAttribute(Method method, Class targetClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShareRestrictionTransactionAttributeSource

public ShareRestrictionTransactionAttributeSource(CurrentDetails details,
                                                  SessionCache cache)
Method Detail

getTransactionAttribute

public org.springframework.transaction.interceptor.TransactionAttribute getTransactionAttribute(Method method,
                                                                                                Class targetClass)
Specified by:
getTransactionAttribute in interface org.springframework.transaction.interceptor.TransactionAttributeSource


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.