Revision created by MOE tool push_codebase.
[gae.git] / java / src / main / com / google / appengine / api / capabilities / CapabilitiesServiceFactory.java
blob2d7c20c32094a3e27be5a4d0005282ce5566024b
1 // Copyright 2012 Google Inc. All rights reserved.
2 package com.google.appengine.api.capabilities;
4 import com.google.appengine.spi.ServiceFactoryFactory;
6 /**
7 * Factory for creating a {@link CapabilitiesService}.
9 */
10 public class CapabilitiesServiceFactory {
12 /**
13 * Creates an implementation of the {@link CapabilitiesService}.
15 * @return an instance of the capabilities service.
17 public static CapabilitiesService getCapabilitiesService() {
18 return getFactory().getCapabilitiesService();
21 private static ICapabilitiesServiceFactory getFactory() {
22 return ServiceFactoryFactory.getFactory(ICapabilitiesServiceFactory.class);