See: Description
| 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.
|
| ServiceProviderProcessor |
Processes
ServiceProvider annotations and generates the service provider
configuration files described in ServiceLoader. |
| Annotation Type | Description |
|---|---|
| ServiceProvider |
An annotation for service providers as described in
ServiceLoader. |
If, for example, vendor X wanted to provide an alternate implementation of the DatastoreService,
they would have to provide an implementation of
com.google.appengine.api.datastore.IDatastoreServiceFactory that returns their
implementation for com.google.appengine.api.datastore.DatastoreService.
Factory implementations are acquired using a FactoryProvider registered with ServiceFactoryFactory. These providers are typically discovered using
ServiceLoader; see ServiceFactoryFactory for
details.
This package include utilities (ServiceProvider
and ServiceProviderProcessor) for
inserting the appropriate "service" entries into a jar file.