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

net.sf.andromedaioc.annotation.Property Maven / Gradle / Ivy

The newest version!
package net.sf.andromedaioc.annotation;

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

/**
 * Mark field, setter method or method parameter to be injected with property value.
 * Property value are read from properties file.
 *
 * @author Alexey Mitrov
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
public @interface Property {
    String name();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy