Example usage for org.springframework.transaction.annotation AnnotationTransactionAttributeSource AnnotationTransactionAttributeSource

List of usage examples for org.springframework.transaction.annotation AnnotationTransactionAttributeSource AnnotationTransactionAttributeSource

Introduction

In this page you can find the example usage for org.springframework.transaction.annotation AnnotationTransactionAttributeSource AnnotationTransactionAttributeSource.

Prototype

public AnnotationTransactionAttributeSource(Set<TransactionAnnotationParser> annotationParsers) 

Source Link

Document

Create a custom AnnotationTransactionAttributeSource.

Usage

From source file:com.newmainsoftech.spray.slingong.datastore.AnnotationTransactionOnStaticMethodAspect.java

public AnnotationTransactionOnStaticMethodAspect() {
    setTransactionAttributeSource(new AnnotationTransactionAttributeSource(false));
}

From source file:docksidestage.projectfw.db.TransactionModule.java

protected AnnotationTransactionAttributeSource createAnnotationTransactionAttributeSource() {
    return new AnnotationTransactionAttributeSource(false);
}

From source file:com.google.code.guice.repository.configuration.JpaRepositoryModule.java

/**
 * Creates {@link Transactional} annotation source with annotation parser.
 *
 * @return parser instance.//from w  w w.  ja  va  2  s  . co m
 *
 * @see AnnotationTransactionAttributeSource
 * @see SpringTransactionAnnotationParser
 */
protected TransactionAttributeSource createTransactionAttributeSource() {
    return new AnnotationTransactionAttributeSource(new SpringTransactionAnnotationParser());
}