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

cn.jiangzeyin.common.EnableCommonBoot Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package cn.jiangzeyin.common;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 开启Common boot
 *
 * @author jiangzeyin
 * @date 2018/8/13.
 * @since 1.1.22
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(CommonInitPackage.class)
public @interface EnableCommonBoot {
    /**
     * 是否开启参数验证拦截器
     *
     * @return 默认开启
     */
    boolean parameterValidator() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy