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

router.fu.annotations.RouterRef Maven / Gradle / Ivy

There is a newer version: 0.13
Show newest version
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