blob: 3dac860ed23cdfb3a0a3e43ad78e76de0a6e6887 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package bjc.utils.services;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.*;
/**
* Indicates the default implementation for a given service.
*
* @author bjcul
*
*/
@Documented
@Retention(RUNTIME)
@Target(TYPE)
public @interface Implementor {
/**
* The default implementation for the service this annotates.
*
* @return The default impl. for the service this annotates
*/
Class<?> value();
}
|