public class DefaultBootstrapContext extends Object implements BootstrapContext
BootstrapContext interface.| Constructor and Description |
|---|
DefaultBootstrapContext(Class<?> testClass,
CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate)
Construct a new
DefaultBootstrapContext from the supplied arguments. |
| Modifier and Type | Method and Description |
|---|---|
CacheAwareContextLoaderDelegate |
getCacheAwareContextLoaderDelegate()
Get the
CacheAwareContextLoaderDelegate to use for transparent
interaction with the ContextCache. |
Class<?> |
getTestClass()
Get the test class for this bootstrap context.
|
String |
toString()
Provide a String representation of this bootstrap context's state.
|
public DefaultBootstrapContext(Class<?> testClass, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate)
DefaultBootstrapContext from the supplied arguments.testClass - the test class for this bootstrap context; never nullcacheAwareContextLoaderDelegate - the context loader delegate to use for
transparent interaction with the ContextCache; never nullpublic Class<?> getTestClass()
getTestClass in interface BootstrapContextnull)public CacheAwareContextLoaderDelegate getCacheAwareContextLoaderDelegate()
CacheAwareContextLoaderDelegate to use for transparent
interaction with the ContextCache.getCacheAwareContextLoaderDelegate in interface BootstrapContextnull)