@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface ServiceProvider
ServiceFactoryFactory
gives to the annotated FactoryProvider
.Modifier and Type | Fields and Description |
---|---|
static int |
DEFAULT_PRECEDENCE |
Modifier and Type | Optional Element and Description |
---|---|
int |
precedence
Higher precedence will take priority over lower precedences for a given interface.
|
java.lang.Class<?> |
value
Returns the interface implemented by this ServiceProvider.
|
public abstract java.lang.Class<?> value
FactoryProvider
, which is the default.