Java Code Examples for com.googlecode.objectify.ObjectifyService#factory()

The following examples show how to use com.googlecode.objectify.ObjectifyService#factory() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: OfyFilterTest.java    From nomulus with Apache License 2.0 5 votes vote down vote up
@Before
public void before() {
  helper = new LocalServiceTestHelper(new LocalDatastoreServiceTestConfig()).setUp();
  // Clear out the factory so that it requires re-registration on each test method.
  // Otherwise, static registration of types in one method would persist across methods.
  initOfy();
  factory = ObjectifyService.factory();
  ObjectifyService.setFactory(new ObjectifyFactory(false));
}
 
Example 2
Source File: OfyService.java    From watchpresenter with Apache License 2.0 4 votes vote down vote up
public static ObjectifyFactory factory() {
    return ObjectifyService.factory();
}
 
Example 3
Source File: OfyService.java    From divide with Apache License 2.0 4 votes vote down vote up
public static ObjectifyFactory factory() {
    return ObjectifyService.factory();
}
 
Example 4
Source File: OfyService.java    From AdSearch_Endpoints with Apache License 2.0 2 votes vote down vote up
/**
 * Use this static method for getting the Objectify service factory.
 * @return ObjectifyFactory.
 */
public static ObjectifyFactory factory() {
    return ObjectifyService.factory();
}
 
Example 5
Source File: OfyService.java    From MobileShoppingAssistant-sample with Apache License 2.0 2 votes vote down vote up
/**
 * Returns the Objectify factory service.
 * @return The factory service.
 */
public static ObjectifyFactory factory() {
    return ObjectifyService.factory();
}
 
Example 6
Source File: OfyService.java    From tech-gallery with Apache License 2.0 2 votes vote down vote up
/**
 * Method that returns the objectify factory reference.
 *
 * @return Objectify.
 */
public static ObjectifyFactory factory() {
  return ObjectifyService.factory();
}
 
Example 7
Source File: OfyService.java    From ud859 with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Use this static method for getting the Objectify service factory.
 * @return ObjectifyFactory.
 */
public static ObjectifyFactory factory() {
    return ObjectifyService.factory();
}
 
Example 8
Source File: OfyService.java    From ud859 with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Use this static method for getting the Objectify service factory.
 * @return ObjectifyFactory.
 */
public static ObjectifyFactory factory() {
    return ObjectifyService.factory();
}
 
Example 9
Source File: OfyService.java    From ud859 with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Use this static method for getting the Objectify service factory.
 * @return ObjectifyFactory.
 */
public static ObjectifyFactory factory() {
    return ObjectifyService.factory();
}
 
Example 10
Source File: OfyService.java    From ud859 with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Use this static method for getting the Objectify service factory.
 * @return ObjectifyFactory.
 */
public static ObjectifyFactory factory() {
    return ObjectifyService.factory();
}
 
Example 11
Source File: OfyService.java    From ud859 with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Use this static method for getting the Objectify service factory.
 * @return ObjectifyFactory.
 */
public static ObjectifyFactory factory() {
    return ObjectifyService.factory();
}
 
Example 12
Source File: OfyService.java    From ud859 with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Use this static method for getting the Objectify service factory.
 * @return ObjectifyFactory.
 */
public static ObjectifyFactory factory() {
    return ObjectifyService.factory();
}