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 int
compareTo(FactoryProvider<?> o)
This ensures that a list of these will be sorted so that higher precedence entries come later in the list.boolean
equals(Object o)
Included to support sorting by precedence (@see #compareTo(FactoryProvider))int
hashCode()
-
-
-
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:
compareTo
in interfaceComparable<I>
-
-