Revision created by MOE tool push_codebase.
[gae.git] / java / src / main / com / google / appengine / api / oauth / OAuthServiceFactory.java
blobd1742ca895f118a8af24048c0540d842b1bb5e45
1 // Copyright 2010 Google Inc. All rights reserved.
3 package com.google.appengine.api.oauth;
5 import com.google.appengine.spi.ServiceFactoryFactory;
7 /**
8 * Creates an OAuthService.
11 public final class OAuthServiceFactory {
12 /**
13 * Creates an implementation of the OAuthService.
15 public static OAuthService getOAuthService() {
16 return getFactory().getOAuthService();
19 private OAuthServiceFactory() {
22 private static IOAuthServiceFactory getFactory() {
23 return ServiceFactoryFactory.getFactory(IOAuthServiceFactory.class);