Generated by
JDiff

org.springframework.transaction.interceptor Documentation Differences

This file contains all the changes in documentation in the package org.springframework.transaction.interceptor as colored differences. Deletions are shown like 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.

Class TransactionAspectSupport, TransactionInfo createTransactionIfNecessary(Method, Class)

Create a transaction if necessary, based on the given method and class.

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 used toto tell if there there was a transaction created. @see #getTransactionAttributeSource()

Class TransactionAspectSupport, String methodIdentification(Method)

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 @return loga String messagerepresentation identifying this method @deprecated in favor of .methodIdentification(Method, Class)
Class TransactionAspectSupport, String 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 @return loga String messagerepresentation identifying this method @see org.springframework.util.ClassUtils#getQualifiedMethodName

Class TransactionAttributeSource

InterfaceStrategy interface used by TransactionInterceptor for metadata retrieval.

Implementations know know 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

Class TransactionAttributeSource, TransactionAttribute getTransactionAttribute(Method, Class<?>)

Return the transaction attribute for thisthe given method., Returnor null if the method is non-transactional. @param method method the method to introspect @param targetClass the target class. May be null, in which which case the declaring class of the method must be used. @return TransactionAttribute the matching transaction attribute, or null if none found