Revision created by MOE tool push_codebase.
[gae.git] / java / src / main / com / google / appengine / api / datastore / IDatastoreServiceFactory.java
blobdc9ad6c9567e90da0590de34976458973aef92e9
1 // Copyright 2012 Google Inc. All rights reserved.
3 package com.google.appengine.api.datastore;
5 /**
6 * This interface should be implemented by providers of the {@link DatastoreService} and registered
7 * with {@link com.google.appengine.spi.ServiceFactoryFactory}.
9 */
10 public interface IDatastoreServiceFactory {
11 /**
12 * Creates a {@code DatastoreService} using the provided config.
14 DatastoreService getDatastoreService(DatastoreServiceConfig config);
16 /**
17 * Creates an {@code AsyncDatastoreService} using the provided config.
19 AsyncDatastoreService getAsyncDatastoreService(DatastoreServiceConfig config);