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

org.redkale.util.AutoLoad Maven / Gradle / Ivy

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.redkale.util;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.*;

/**
 * 自动加载。 使用场景:
 * 1、被标记为@AutoLoad(false)的Service类不会被自动加载, 当被依赖时才会被加载
 * 2、被标记为@AutoLoad(false)的Servlet类不会被自动加载
 *
 * 

详情见: https://redkale.org * @author zhangjx */ @Documented @Target({TYPE}) @Retention(RUNTIME) public @interface AutoLoad { boolean value() default true; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy