| |
|
| java.lang.Object org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
AnnotationTransactionAttributeSource | public AnnotationTransactionAttributeSource()(Code) | | Create a default AnnotationTransactionAttributeSource, supporting
public methods that carry the Transactional annotation
or the EJB3
javax.ejb.TransactionAttribute annotation.
|
AnnotationTransactionAttributeSource | public AnnotationTransactionAttributeSource(boolean publicMethodsOnly)(Code) | | Create a custom AnnotationTransactionAttributeSource, supporting
public methods that carry the Transactional annotation
or the EJB3
javax.ejb.TransactionAttribute annotation.
Parameters: publicMethodsOnly - whether to support public methods that carrythe Transactional annotation only (typically for usewith proxy-based AOP), or protected/private methods as well(typically used with AspectJ class weaving) |
AnnotationTransactionAttributeSource | public AnnotationTransactionAttributeSource(TransactionAnnotationParser annotationParser)(Code) | | Create a custom AnnotationTransactionAttributeSource.
Parameters: annotationParser - the TransactionAnnotationParser to use |
AnnotationTransactionAttributeSource | public AnnotationTransactionAttributeSource(Set<TransactionAnnotationParser> annotationParsers)(Code) | | Create a custom AnnotationTransactionAttributeSource.
Parameters: annotationParsers - the TransactionAnnotationParsers to use |
allowPublicMethodsOnly | protected boolean allowPublicMethodsOnly()(Code) | | By default, only public methods can be made transactional.
|
determineTransactionAttribute | protected TransactionAttribute determineTransactionAttribute(AnnotatedElement ae)(Code) | | Determine the transaction attribute for the given method or class.
This implementation delegates to configured
TransactionAnnotationParser TransactionAnnotationParsers for parsing known annotations into Spring's metadata attribute class.
Returns null if it's not transactional.
Can be overridden to support custom annotations that carry transaction metadata.
Parameters: ae - the annotated method or class TransactionAttribute the configured transaction attribute,or null if none was found |
hashCode | public int hashCode()(Code) | | |
Fields inherited from org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource | final protected Log logger(Code)(Java Doc)
|
|
|
|