public class DelegatingSmartContextLoader extends AbstractDelegatingSmartContextLoader
DelegatingSmartContextLoader
is a concrete implementation of
AbstractDelegatingSmartContextLoader
that delegates to a
GenericXmlContextLoader
and an AnnotationConfigContextLoader
.SmartContextLoader
,
AbstractDelegatingSmartContextLoader
,
GenericXmlContextLoader
,
AnnotationConfigContextLoader
Modifier and Type | Field and Description |
---|---|
private SmartContextLoader |
annotationConfigLoader |
private SmartContextLoader |
xmlLoader |
Constructor and Description |
---|
DelegatingSmartContextLoader() |
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