public class DelegatingSmartContextLoader extends AbstractDelegatingSmartContextLoader
DelegatingSmartContextLoader
is a concrete implementation of
AbstractDelegatingSmartContextLoader
that delegates to a
GenericXmlContextLoader
(or a GenericGroovyXmlContextLoader
if Groovy
is present in the classpath) and an AnnotationConfigContextLoader
.SmartContextLoader
,
AbstractDelegatingSmartContextLoader
,
GenericXmlContextLoader
,
GenericGroovyXmlContextLoader
,
AnnotationConfigContextLoader
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 and/or Groovy scripts. |
loadContext, loadContext, processContextConfiguration, processLocations
protected SmartContextLoader getXmlLoader()
AbstractDelegatingSmartContextLoader
SmartContextLoader
that supports XML configuration
files and/or Groovy scripts.getXmlLoader
in class AbstractDelegatingSmartContextLoader
protected SmartContextLoader getAnnotationConfigLoader()
AbstractDelegatingSmartContextLoader
SmartContextLoader
that supports annotated classes.getAnnotationConfigLoader
in class AbstractDelegatingSmartContextLoader