public class WebDelegatingSmartContextLoader extends AbstractDelegatingSmartContextLoader
WebDelegatingSmartContextLoader
is a concrete implementation of
AbstractDelegatingSmartContextLoader
that delegates to a
GenericXmlWebContextLoader
and an AnnotationConfigWebContextLoader
.SmartContextLoader
,
AbstractDelegatingSmartContextLoader
,
GenericXmlWebContextLoader
,
AnnotationConfigWebContextLoader
Modifier and Type | Field and Description |
---|---|
private SmartContextLoader |
annotationConfigLoader |
private SmartContextLoader |
xmlLoader |
Constructor and Description |
---|
WebDelegatingSmartContextLoader() |
Modifier and Type | Method and Description |
---|---|
protected SmartContextLoader |
getAnnotationConfigLoader()
Get the delegate
SmartContextLoader that supports annotated classes. |
protected SmartContextLoader |
getXmlLoader()
Get the delegate
SmartContextLoader that supports XML configuration files. |
loadContext, loadContext, processContextConfiguration, processLocations
private final SmartContextLoader xmlLoader
private final SmartContextLoader annotationConfigLoader
protected SmartContextLoader getXmlLoader()
AbstractDelegatingSmartContextLoader
SmartContextLoader
that supports XML configuration files.getXmlLoader
in class AbstractDelegatingSmartContextLoader
protected SmartContextLoader getAnnotationConfigLoader()
AbstractDelegatingSmartContextLoader
SmartContextLoader
that supports annotated classes.getAnnotationConfigLoader
in class AbstractDelegatingSmartContextLoader