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 null
cacheAwareContextLoaderDelegate
- the context loader delegate to use for
transparent interaction with the ContextCache
; never null
public Class<?> getTestClass()
getTestClass
in interface BootstrapContext
null
)public CacheAwareContextLoaderDelegate getCacheAwareContextLoaderDelegate()
CacheAwareContextLoaderDelegate
to use for transparent
interaction with the ContextCache
.getCacheAwareContextLoaderDelegate
in interface BootstrapContext
null
)