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

com.zusmart.basic.extension.Extension Maven / Gradle / Ivy

Go to download

基础模块,提供配置,日志,SPI,图排序,路径匹配,资源扫描,包扫描,常用工具类

There is a newer version: 0.0.3
Show newest version
package com.zusmart.basic.extension;

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

/**
 * 扩展点标记注解,用来标记哪些接口是有扩展点, 如果使用再非接口上,则忽略
 * 
 * @author Administrator
 *
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Extension {

	/**
	 * 默认使用的扩展点名称
	 * 
	 * @return 扩展名称
	 */
	public String value() default "";

	public ExtensionScope scope() default ExtensionScope.Singleton;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy