com.litongjava.db.activerecord.tx.TxConfig Maven / Gradle / Ivy
package com.litongjava.db.activerecord.tx;
import java.lang.annotation.Documented;
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;
/**
* TxConfig is used to configure configName for Tx interceptor
*/
@Inherited
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface TxConfig {
String value(); // configName of Config
}