Package com.google.appengine.spi
Support for alternate implementations of Google App Engine services. This package is not
intended for use by application code.
If, for example, vendor X wanted to provide an alternate implementation of the
DatastoreService, they would have to provide an implementation of IDatastoreServiceFactory that returns their implementation
for DatastoreService.
Factory implementations are acquired using a FactoryProvider registered with ServiceFactoryFactory. These providers are typically discovered using ServiceLoader; see ServiceFactoryFactory for details.
This package includes the utility (ServiceProvider for inserting the appropriate "service" entries into a jar file.
-
Class Summary Class Description FactoryProvider<I> A base class for service factory creation that can be registered with the ProviderRegistry.ServiceFactoryFactory This class is not intended for end users.ServicesFile A helper class for reading and writing Services files. -
Annotation Types Summary Annotation Type Description ServiceProvider Specifies the precedence thatServiceFactoryFactorygives to the annotatedFactoryProvider.