Package com.db4o.foundation
Class Environments
- java.lang.Object
-
- com.db4o.foundation.Environments
-
public class Environments extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Environments()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Environment
compose(Environment... environments)
static <T> T
my(java.lang.Class<T> service)
static Environment
newCachingEnvironmentFor(Environment environment)
static Environment
newClosedEnvironment(java.lang.Object... bindings)
static Environment
newConventionBasedEnvironment()
static Environment
newConventionBasedEnvironment(java.lang.Object... bindings)
static void
runWith(Environment environment, java.lang.Runnable runnable)
-
-
-
Method Detail
-
my
public static <T> T my(java.lang.Class<T> service)
-
runWith
public static void runWith(Environment environment, java.lang.Runnable runnable)
-
newClosedEnvironment
public static Environment newClosedEnvironment(java.lang.Object... bindings)
-
newCachingEnvironmentFor
public static Environment newCachingEnvironmentFor(Environment environment)
-
newConventionBasedEnvironment
public static Environment newConventionBasedEnvironment(java.lang.Object... bindings)
-
newConventionBasedEnvironment
public static Environment newConventionBasedEnvironment()
-
compose
public static Environment compose(Environment... environments)
-
-