Code example for AbstractDelegatingSmartContextLoader

0
 * @see SmartContextLoader 
 * @see AbstractDelegatingSmartContextLoader 
 * @see HadoopClusterInjectingXmlContextLoader 
 * @see HadoopClusterInjectingAnnotationConfigContextLoader 
 */ 
public class HadoopDelegatingSmartContextLoader extends AbstractDelegatingSmartContextLoader { 
 
	private final SmartContextLoader xmlLoader = new HadoopClusterInjectingXmlContextLoader(); 
	private final SmartContextLoader annotationConfigLoader = new HadoopClusterInjectingAnnotationConfigContextLoader(); 
 
	@Override 
	protected SmartContextLoader getXmlLoader() { 
		return this.xmlLoader; 
	} 
 
	@Override 
	protected SmartContextLoader getAnnotationConfigLoader() { 
		return this.annotationConfigLoader; 
	}