org.osgl.inject.annotation.Configuration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of genie Show documentation
Show all versions of genie Show documentation
A JSR330 style dependency injection solution
package org.osgl.inject.annotation;
import org.osgl.inject.loader.ConfigurationValueLoader;
import java.lang.annotation.*;
/**
* Used to specify a field or parameter shall be load by
* {@link org.osgl.inject.loader.ConfigurationValueLoader}
*/
@Documented
@InjectTag
@LoadValue(ConfigurationValueLoader.class)
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.PARAMETER})
public @interface Configuration {
/**
* Specify the configuration key
*
* @return the configuration key
*/
String value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy