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

com.giffing.wicket.spring.boot.context.extensions.ApplicationInitExtension Maven / Gradle / Ivy

Go to download

Provides several constructs which allow developers to build custom auto-configuration classes.

There is a newer version: 4.0.0
Show newest version
package com.giffing.wicket.spring.boot.context.extensions;

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;

import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * To be independent from Springs annotation this annotation was introduced
 * which is a replacement for the {@link Component} annotation.
 * 
 * In future you may introduce different configuration options.
 * 
 * @author Marc Giffing
 *
 */
@Configuration
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Order(ApplicationInitExtension.DEFAULT_PRECEDENCE)
public @interface ApplicationInitExtension {

	int HIGHEST_PRECEDENCE = Integer.MIN_VALUE;
	
	int DEFAULT_PRECEDENCE = Integer.MAX_VALUE / 2;

	int LOWEST_PRECEDENCE = Integer.MAX_VALUE;

	String value() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy