router.fu.annotations.RouterRef Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of router-fu-annotations Show documentation
Show all versions of router-fu-annotations Show documentation
Annotations for defining a router
package router.fu.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
/**
* Marks a template method that returns the service interface generated for router.
*
* The method that is annotated with @RouterRef must also comply with the following constraints:
*
* - Must not be private
* - Must not be static
* - Must not be final
* - Must not be abstract
* - Must not throw any exceptions
* - Must return an instance of service interface.
*
*/
@Documented
@Target( ElementType.METHOD )
public @interface RouterRef
{
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy