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; }
-
-
Element Detail
-
value
java.lang.Class<? extends Service<?,?>> value
The service class that the method implements- Returns:
- Service to implement
-
-