org.easyrules.spring.SpringRule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of easyrules-spring Show documentation
Show all versions of easyrules-spring Show documentation
Module providing support for engine configuration using Spring
package org.easyrules.spring;
import org.easyrules.annotation.Rule;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation that turns a POJO into:
*
*
* - an Easy Rules rule
* - a Spring prototype-scoped bean
*
*
* @author Mahmoud Ben Hassine ([email protected])
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Rule
@Component
@Scope("prototype")
public @interface SpringRule {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy