Package com.google.appengine.spi
Annotation Type ServiceProvider
Specifies the precedence that
ServiceFactoryFactory
gives to the annotated FactoryProvider
.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionint
Higher precedence will take priority over lower precedences for a given interface.Class
<?> Returns the interface implemented by this ServiceProvider. -
Field Summary
Fields
-
Field Details
-
DEFAULT_PRECEDENCE
static final int DEFAULT_PRECEDENCE- See Also:
-
-
Element Details
-
value
Class<?> valueReturns 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
-
precedence
int precedenceHigher precedence will take priority over lower precedences for a given interface.- Default:
0
-