|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packageorg.springframework.transaction.interceptor
as colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
Create a transaction if necessary, based on the given method and class.Class TransactionAspectSupport, String methodIdentification(Method)Performs a default TransactionAttribute lookup for the given method. @param method the method about to execute @param targetClass the class that the method is being invoked on @return a TransactionInfo object, whether or not a transaction was created. The
hasTransaction()
method on TransactionInfo can be usedtoto tell iftherethere was a transaction created. @see #getTransactionAttributeSource()
Convenience method to return a String representation of this Method for use in logging. Can be overridden in subclasses to provide a different identifier for the given method. @param method the method we're interested in @returnClass TransactionAspectSupport, String methodIdentification(Method, Class)loga Stringmessagerepresentation identifying this method @deprecated in favor of .methodIdentification(Method, Class)
Convenience method to return a String representation of this Method for use in logging. Can be overridden in subclasses to provide a different identifier for the given method. @param method the method we're interested in @param targetClass the class that the method is being invoked on @returnloga Stringmessagerepresentation identifying this method @see org.springframework.util.ClassUtils#getQualifiedMethodName
Class TransactionAttributeSource, TransactionAttribute getTransactionAttribute(Method, Class<?>)InterfaceStrategy interface used by TransactionInterceptor for metadata retrieval.Implementations
knowknow how to source transaction attributes, whether from configuration, metadata attributes at source level (such as Java 5 annotations), or anywhere else. @author Rod Johnson @since 15.04.2003 @see TransactionInterceptor#setTransactionAttributeSource @see TransactionProxyFactoryBean#setTransactionAttributeSourcesetTransactionAttributeSource @see org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
Return the transaction attribute forthisthe given method.,Returnornull
if the method is non-transactional. @param methodmethodthe method to introspect @param targetClass the target class. May benull
, inwhichwhich case the declaring class of the method must be used. @return TransactionAttribute the matching transaction attribute, ornull
if none found