Package com.google.appengine.spi
Annotation Type ServiceProvider
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface ServiceProvider
Specifies the precedence thatServiceFactoryFactory
gives to the annotatedFactoryProvider
.
-
-
Field Summary
Fields Modifier and Type Fields Description static int
DEFAULT_PRECEDENCE
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
precedence
Higher precedence will take priority over lower precedences for a given interface.Class<?>
value
Returns the interface implemented by this ServiceProvider.
-
-
-
Element Detail
-
value
Class<?> value
Returns the interface implemented by this ServiceProvider. This is present for compatibility reasons but should always beFactoryProvider
, which is the default.- Default:
- com.google.appengine.spi.FactoryProvider.class
-
-