August 2018
Intermediate to advanced
314 pages
8h 9m
English
In the following code, we have the Jpg qualifier, used to define the correct handler:
import javax.inject.Qualifier;import java.lang.annotation.ElementType;import java.lang.annotation.Retention;import java.lang.annotation.RetentionPolicy;import java.lang.annotation.Target;@Qualifier@Retention(RetentionPolicy.RUNTIME)@Target({ElementType.METHOD, ElementType.TYPE, ElementType.PARAMETER, ElementType.FIELD})public @interface Jpg {}
Read now
Unlock full access