src/main/java/com/googlecode/objectify/ObjectifyService.java
public static <R> R run(final Work<R> work) {
		try (Closeable closeable = begin()) {
			return work.run();
		}
	}
public static <R> R run(final Work<R> work) {
		try (Closeable closeable = begin()) {
			return work.run();
		}
	}
public static < R > R run ( final Work < R > work ) { try ( Closeable closeable = begin ( ) ) { return work . run ( ) ; } }
<p>Runs one unit of work, making the root Objectify context available. This does not start a transaction,
but it makes the static ofy() method return an appropriate object.</p>

<p>Normally you do not need to use this method. When servicing a normal request, the ObjectifyFilter
will run this for you. This method is useful for using Objectify outside of a normal request -
using the remote api, for example.</p>

<p>Alternatively, you can use the begin() method and close the session manually.</p>

@return the result of the work.
<p > Runs one unit of work making the root Objectify context available . This does not start a transaction but it makes the static ofy () method return an appropriate object . < / p >