Annotation Type ServiceImplementation


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface ServiceImplementation
    Used to bind methods to services, like such:
    
     {@literal @}Nullable
     {@literal @}ServiceImplementation(YourService.class)
     public YourResult handle(YourContext) {
          return result;
     }
     
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends Service<?,​?>> value
      The service class that the method implements
    • Element Detail

      • value

        java.lang.Class<? extends Service<?,​?>> value
        The service class that the method implements
        Returns:
        Service to implement