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

se.l4.commons.serialization.Factory Maven / Gradle / Ivy

package se.l4.commons.serialization;

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 se.l4.commons.types.InstanceFactory;

/**
 * Annotation for usage with constructors. This can be placed on constructors
 * that want to be injected via {@link InstanceFactory}. This annotation is
 * handled if a class uses {@link ReflectionSerializer}.
 *
 * @author Andreas Holstenson
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.CONSTRUCTOR })
@Documented
public @interface Factory
{
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy