1 // Copyright 2012 Google Inc. All rights reserved.
3 package com
.google
.appengine
.api
.datastore
;
6 * This interface should be implemented by providers of the {@link DatastoreService} and registered
7 * with {@link com.google.appengine.spi.ServiceFactoryFactory}.
10 public interface IDatastoreServiceFactory
{
12 * Creates a {@code DatastoreService} using the provided config.
14 DatastoreService
getDatastoreService(DatastoreServiceConfig config
);
17 * Creates an {@code AsyncDatastoreService} using the provided config.
19 AsyncDatastoreService
getAsyncDatastoreService(DatastoreServiceConfig config
);