All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.seedstack.spring.SpringTransactionManager Maven / Gradle / Ivy

There is a newer version: 3.1.2
Show newest version
/**
 * Copyright (c) 2013-2016, The SeedStack authors 
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package org.seedstack.spring;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * This annotation accompanies the {@link org.seedstack.seed.transaction.Transactional} annotation to define the
 * transaction as a Spring managed one and specify the concerned Spring transaction manager.
 */
@Target({ElementType.METHOD, ElementType.TYPE, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface SpringTransactionManager {
    /**
     * @return the name of the Spring transaction manager bean.
     */
    String value() default "transactionManager";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy