Package com.google.appengine.spi
Class FactoryProvider<I>
- java.lang.Object
-
- com.google.appengine.spi.FactoryProvider<I>
-
- Type Parameters:
I- is the interface the provided factory must implement.
- All Implemented Interfaces:
Comparable<FactoryProvider<?>>
- Direct Known Subclasses:
IAppIdentityServiceFactoryProvider,IBackendServiceFactoryProvider,IBlobstoreServiceFactoryProvider,ICapabilitiesServiceFactoryProvider,IDatastoreServiceFactoryProvider,IImagesServiceFactoryProvider,ILogServiceFactoryProvider,IMailServiceFactoryProvider,IMemcacheServiceFactoryProvider,IModulesServiceFactoryProvider,IOAuthServiceFactoryProvider,IQueueFactoryProvider,IQuotaServiceFactoryProvider,ISearchServiceFactoryProvider,IURLFetchServiceFactoryProvider,IUserServiceFactoryProvider
public abstract class FactoryProvider<I> extends Object implements Comparable<FactoryProvider<?>>
A base class for service factory creation that can be registered with the ProviderRegistry.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(FactoryProvider<?> o)This ensures that a list of these will be sorted so that higher precedence entries come later in the list.booleanequals(Object o)Included to support sorting by precedence (@see #compareTo(FactoryProvider))inthashCode()
-
-
-
Method Detail
-
compareTo
public int compareTo(FactoryProvider<?> o)
This ensures that a list of these will be sorted so that higher precedence entries come later in the list.- Specified by:
compareToin interfaceComparable<I>
-
-