com.giffing.wicket.spring.boot.context.extensions.ApplicationInitExtension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicket-spring-boot-context Show documentation
Show all versions of wicket-spring-boot-context Show documentation
Provides several constructs which allow developers to build
custom auto-configuration classes.
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