Package com.google.appengine.spi
Annotation Type ServiceProvider
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface ServiceProvider
Specifies the precedence thatServiceFactoryFactorygives to the annotatedFactoryProvider.
-
-
Field Summary
Fields Modifier and Type Fields Description static intDEFAULT_PRECEDENCE
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description intprecedenceHigher precedence will take priority over lower precedences for a given interface.Class<?>valueReturns 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
-
-