public class DefaultBootstrapContext extends java.lang.Object implements BootstrapContext
BootstrapContext
interface.Constructor and Description |
---|
DefaultBootstrapContext(java.lang.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 . |
java.lang.Class<?> |
getTestClass()
Get the test class for this bootstrap context.
|
java.lang.String |
toString()
Provide a String representation of this bootstrap context's state.
|
public DefaultBootstrapContext(java.lang.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 java.lang.Class<?> getTestClass()
getTestClass
in interface BootstrapContext
null
)public CacheAwareContextLoaderDelegate getCacheAwareContextLoaderDelegate()
CacheAwareContextLoaderDelegate
to use for transparent
interaction with the ContextCache
.getCacheAwareContextLoaderDelegate
in interface BootstrapContext
null
)public java.lang.String toString()
toString
in class java.lang.Object