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

com.github.javaclub.configcenter.spring.annotation.EnableConfigserver Maven / Gradle / Ivy

The newest version!
/*
 * @(#)EnableConfigserver.java	2021-8-20
 *
 * Copyright (c) 2021. All Rights Reserved.
 *
 */

package com.github.javaclub.configcenter.spring.annotation;

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;

import org.springframework.context.annotation.Import;
import org.springframework.core.Ordered;

import com.github.javaclub.configcenter.ConfigServerConstants.BootConfig;


/**
 * EnableConfigserver
 *
 * @author Gerald Chen
 * @version $Id: EnableConfigserver.java 2021-8-20 14:36:16 Exp $
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(ConfigServerRegistrar.class)
public @interface EnableConfigserver {

	String value() default BootConfig.CONFIG_FILE_CLASSPATH;
	
	int order() default Ordered.LOWEST_PRECEDENCE;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy